xamarin/Xamarin.Forms

[iOS] Navigation bar back button only shows arrow without text on iOS 10

开放

#5,574 创建于 2019年3月15日

 (0 条评论) (0 个反应) (0 位负责人)C# (1,926 个派生)batch import
e/3 :clock3:help wantedinactivep/iOS 🍎t/bug :bug:up-for-grabs

仓库指标

星标
 (5,644 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

Description

The default navigation bar back button that shows whenever a navigation page has a previous page does not show the default text.

On iOS 11 and above it shows the previous page's title, or the "Back" text whenever there isn't enough space to on the navbar to display the whole text, and if the space is still not for even the "Back" text to show, it only shows a back arrow.

Steps to Reproduce

  1. Create a Xamarin.Forms project.
  2. Add an additional navigation page and navigate to it from the main page.
  3. Observe navigation bar back button behavior and appearance on iOS 10 and iOS 11+.

Expected Behavior

Should show the previous page's title or "Back" or the Back arrow only depending on the space provided on iOS 10.

Actual Behavior

Only shows the Back arrow on iOS 10.

Basic Information

  • Version with issue: Xamarin.Forms 3.4+.
  • Last known good version: Not sure
  • IDE: Visual Studio 2017 on Mac
  • Platform Target Frameworks:
    • iOS: iOS 10.0
  • Affected Devices: iOS 10

Screenshots

iOS 10 iOS 10 Scr

iOS 11 and above iOS 12 Scr

贡献者指南