UINavigationBar has incorrect frame in UISplitViewController
Originator: | m.hanika | ||
Number: | rdar://46239088 | Date Originated: | November 26 2018 |
Status: | Open | Resolved: | |
Product: | UIKit | Product Version: | 11.4, 12.1 |
Classification: | Bug | Reproducible: | always |
Pushing an UIViewController with its UINavigationItems largeTitleDisplayMode set to .never results in an incorrect frame when using an UISplitViewController. This problem only occurs if the UISplitViewController is collapsed. Steps to Reproduce: * Create a new project with the master detail template * Add a third view controller to the storyboard * Create a "Show Detail" segue from the detail view controller to the newly added view controller (e.g. via a button) * Set the largeTitleDisplayMode on the detail view controller to .always * Set the largetTitleDisplayMode on the newly added view controller to .never * Run the project on an iPhone or iPhone Simulator * Navigate to the newly added view controller Expected Results: * The navigation bar should collapse smoothly * The navigation bars frame should not exceed the visible navigation bar size Actual Results: * The navigation bar frame jumps from large to small * The navigation bars frame is bigger than the visible navigation bar. This leads to content below the invisible navigation bar frame not receiving touches (this is especially problematic if there is a table view below). Version/Build: iOS 12.1 iOS 11.4 Configuration: -
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!