Rotation Issues When Using a Modal MPMoviePlayerViewController
Originator: | alexander.repty | ||
Number: | rdar://8012810 | Date Originated: | 2010-05-21 |
Status: | Open | Resolved: | |
Product: | iPad | Product Version: | 3.2 |
Classification: | UI/Usability | Reproducible: | Always |
Summary: When rotating the device while a modal MPMoviePlayerViewController is being shown, the parent UIViewController shows up in an inconsistent state when the modal view controller is dismissed. Steps to Reproduce: 1.) From within a UIViewController, open a modal MPMoviePlayerViewController instance. 2.) While the modal MPMoviePlayerViewController is shown, rotate the device by 90°. 3.) Dismiss the modal MPMoviePlayerViewController. Expected Results: Orientation of the UIStatusBar and UIViewController should match. Actual Results: UIStatusBar orientation and UIViewController orientation doesn't match (one is in landscape, the other in portrait). Regression: Tested in a real-world project and a sample project using SDK 3.2 in the Simulator on two different machines, both running the latest version of Snow Leopard. Tested using the real-world project on an actual device (16 GB WiFi). Notes: I've attached a sample project to demonstrate this behaviour. Watch the console for orientation debugging output. Open Radar: Open Radar users may download the sample project at http://alexrepty.com/other/VideoTest.zip
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!
I was able to obtain a successful workaround from Apple Developer Technical Support - details and code can be found on my StackOverflow question at http://stackoverflow.com/questions/3089692/ipad-rotation-bug-when-using-mpmovieplayerviewcontroller
Entered a duplicate with Apple (8110799) thanks for documenting!
I'm also having this problem and have logged a duplicate bug report with Apple (radar number: 8102042)
I am having this same issue. Any Help is appreciated. Alexandar, are you still experiencing this issue? If you have fixed it, can you please let me know how you solved it?