KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Issue summary Changing the orientation of an iPad device or simulator while playing a video using MPMoviePlayerViewController results in an inconsistent rotation state upon dismissal of the video player. This is a known bug in iPad SDK 3.2, documented at http://www.openradar.me/8012810 Sample project I have prepared a minimal sample project using the View-based Application template from Xcode 3.2.2, using the following code to launch the player NSURL *movieUrl = [NSURL URLWithString:@"http://devimages.apple.com/iphone/samples/bipbop/bipbopall.m3u8"]; MPMoviePlayerViewController *player = [[MPMoviePlayerViewController alloc] initWithContentURL:movieUrl]; [self presentMoviePlayerViewControllerAnimated:player]; [player release]; The code is available on GitHub at http://github.com/adamalex/FullScreenMovie or direct download using http://github.com/adamalex/FullScreenMovie/zipball/master Steps to reproduce Obtain the project using the information above Launch the project with the iPad simulator or device Tap the button to begin playing the video Rotate the iPad by 90 degrees Dismiss the video Note the UIStatusBar is out of sync with the application UI Objective I have contacted Apple and they have confirmed this is a bug that is being investigated. I would like to discuss temporary workarounds that use public APIs safe for submission to the App Store. I am going to open a developer support case with Apple as well and will report back with my own progress.
Tags (comma-separated)
Save Edits
Cancel