UISplitViewController Layout

Originator:aamct
Number:rdar://24362789 Date Originated:01/27/2016
Status:Open Resolved:No
Product:iOS SDK Product Version:9.2
Classification:UI Reproducible:Always
 
Summary:
Creating a UISplitViewController fully programmatically has layout issues when using a UINavigationController on both primary and secondary views. The view on the secondary side extends under an *opaque* UINavigationBar until the screen is rotated.

I have sample code and screenshots to provide.

Steps to Reproduce:
Create a view controller and add it as a root view controller of a UINavigationController. Set the UINavigationBar's translucent property to *false*. Present the navigation controller using *showDetailViewController*. Use the 3d view debugger and see the secondary view extending under the opaque navigation bar. Rotate the screen and then rotate it back to the original orientation. Inspect using the 3d view debugger again to see it no longer under the navigation bar.

Expected Results:
The layout not to extend under the opaque navigation bar.

Actual Results:
The layout does extend under the opaque navigation bar.

Version:
Xcode 7.2

Notes:
Sent DTS ticket regarding problem. DTS confirmed it is a bug and requested I file a radar. DTS ticket 635211153.

Configuration:
iPhone Simulator iOS 9.2

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!