UINavigationBar should not overlap bar items

Originator:matej
Number:rdar://22474590 Date Originated:28-Aug-2015 04:07 PM
Status:Open Resolved:
Product:iOS Product Version:9.0 b5
Classification:UI/Usability Reproducible:Always
 
Summary:
UINavigationBar currently always tries to present all navigation items, regardless of the available space. This can lead to unpleasant and confusing overlap between the navigation items on each side and the title. The issue has become even more pressing due to iOS adaptivity and the new iPad multitasking behavior (see attached screenshots). 

Steps to Reproduce:
Configure a bunch of navigation items on both sides of the navigation bar and set a title. Now engage iPad multitasking and resize the app. 

Expected Results:
The navigation bar would conditionally hide items, if there is not enough room to fully display the (shorted title, remove title, remove bar items). 

Actual Results:
The navigation bar items overlap. 

Regression:
Problematic on iOS 9 with iPad multitasking.

Notes:
In this case it is  had to manage the navigation bar items manually and respond to size classes, as we don’t have access to the actual navigation item views so we could measure the needed and available space. This is something that needs to be solved on the system side.

Comments

Screenshots for this problem: http://cl.ly/1145410l0l2l


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!