UISplitViewControllerDelegate methods not called when exiting video full screen
| Originator: | dpfeiffer | ||
| Number: | rdar://12950550 | Date Originated: | 1/3/2013 |
| Status: | Open | Resolved: | |
| Product: | iPad SDK | Product Version: | 6.0.x |
| Classification: | Other Bugs | Reproducible: | Always |
Summary: When an MPMoviePlayerController is embedded on a detail view of the UISplitViewController, if the device orientation changed while the video was playing full screen, the UISplitViewControllerDelegate methods for hiding/showing the master view controller are not reliably invoked. Steps to Reproduce: Starting from a new project using the master detail project template, embed a movie player controller in the detail view (sample project attached). 1. Start the app in landscape. 2. Launch full screen mode on the video. 3. Rotate the device to portrait. 4. Exit full screen mode. 5. Observe if the "Master" bar button item is visible. Expected Results: The "Master" bar button item should always be visible because the -splitViewController:willHideViewController:withBarButtonItem:forPopoverController: should be called when exiting full screen. Actual Results: It seems to sometimes work the first time, but if you run through the steps a second time, the delegate method is not invoked. You can also do the reverse, starting in portrait and moving to landscape. The companion delegate method (willShowViewController...) is not reliably triggered either. Regression: Notes: Seems to only occur on iOS 6. Able to reproduce in simulator and on device. Xcode 4.5.2 03-Jan-2013 11:15 AM Daniel Pfeiffer: 'SplitViewVideo.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!