Presenting full-screen view controller over UISplitViewController completely screws up master view controller's layout

Originator:rileytestut
Number:rdar://17630773 Date Originated:Thu, 10 Jul 2014 22:07:53 GMT
Status:Open Resolved:
Product:iOS SDK Product Version:iOS 8 Beta 3
Classification:UI/Usability Reproducible:Always
 
Summary:
When presenting a modal full screen view controller from the master view controller of a UISplitViewController, the modal VC presents as expected. However, upon dismissing the modal VC, the master view controller appears to resize to fill the entire screen (not just it's designated side-bar portion), and then is cropped (not resized) to fit in it's appropriate sidebar area.

Steps to Reproduce:
1. Create application with a UISplitViewController as the base view controller
2. Configure the MasterViewController to have a button to present a modal full-screen view controller
3. Configure the ModalViewController to have a button to dismiss itself
4. Run the application, present the ModalViewController from the MasterViewController, then dismiss it

Expected Results:
MasterViewController remains sized to fit in it's sidebar container

Actual Results:
MasterViewController is initially resized to fill the screen, and then is cropped (not resized) to fit in the sidebar.

Version:
iOS 8 Beta 3

Notes:
Attached is a sample project, and also screenshots of the app before presenting the modal view controller, directly after dismissing the view controller, and then after the master view controller is cropped

Configuration:
iPad

Attachments:
'SplitViewBugs.zip', 'iOS Simulator Screen Shot Jul 10, 2014, 5.02.29 PM.png', 'iOS Simulator Screen Shot Jul 10, 2014, 5.02.33 PM.png' and 'iOS Simulator Screen Shot Jul 10, 2014, 5.02.34 PM.png' were successfully uploaded.

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!