Presenting view controller on UISplitViewController's primary view controller behaves incorrectly

Originator:matthias.hochgatterer
Number:rdar://17826464 Date Originated:28-Jul-2014
Status:Open Resolved:
Product:iOS SDK Product Version:
Classification:Serious Bug Reproducible:Always
 
Summary:
When a view controller is modally presented with presentation style `UIModalPresentationCurrentContext` on a view controller which is the primary view controller inside a split view controller the methods `viewWillAppear:` and `viewDidAppear:` are not called on the presented view controller.

When the modal view controller is dismissed, the primary controller's view is resized to the split view controller's size during the dismiss animation and then resized to the original size.

Steps to Reproduce:
1. Run the attached Xcode project on the iPad simulator

2. Press the compose navigation button which results in presenting a view controller (ModalViewController)

3. Dismiss the view controller by tapping "Done"

Expected Results:
On 2. The methods `viewWillAppear:` and `viewDidAppear:` are called as in iOS 7.

On 3. The split view controller's primary view controller is not resized during the dismiss animation.

Actual Results:
On 2. Methods on the presented view controller are not called

On 3. The split view controller's primary view controller has the wrong size during the animation.

Version:
iOS 8 Beta 4

Notes:


Configuration:
SimulatorUISplitViewController.zip - configuration file has been successfully uploaded.

Attachments:
'UISplitViewController.zip' was 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!