The layout of title and buttons on UINavigationBar is bad when back button title is long but not too long
Originator: | an00na | ||
Number: | rdar://36734704 | Date Originated: | January 22 2018, 10:34 AM |
Status: | Closed | Resolved: | Behaves as Intended |
Product: | iOS + SDK | Product Version: | 11.2 |
Classification: | Suggestion | Reproducible: | Always |
Area: UIKit Currently, the layout of title and buttons on UINavigationBar is bad when back button title is long but not too long. The title is pushed by the back button to the right so no longer centered. Run the sample app on iPhone 6 in portrait mode to see the issue. In contrast, when back button title is too long, back button's title will be automatically "shortened" to "Back". Change the mast view controller's title to "Master View Controller with Long Title" and run the sample app again to see. I think the title should be always centered. Code: https://mega.nz/#!tWx2xI4Y!r2Foy6ZmZdP9HMgGL3oQxMf_BjzSdOZVwPzmoNemtMI
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!