MPMoviePlayerController behavior changed when entering full screen playback.
Originator: | julien | ||
Number: | rdar://12327997 | Date Originated: | 19-Sep-2012 04:17 PM |
Status: | Open | Resolved: | |
Product: | iOS | Product Version: | 6 |
Classification: | Bug | Reproducible: | Yes |
19-Sep-2012 04:17 PM Julien Delarbre: Summary: MPMoviePlayerController behavior has changed when entering full screen playback. In iOS 6 when activating fullscreen mode the MPMoviePlayerController in the view controller that contains the Movie Player View calls the methods viewWillDisappear and viewDidDisappear. In iOS5, those methods were not called. Steps to Reproduce: 1. Download the MoviePlayer sample project 2. In MoviePlayerAppDelegate, replace the following line window addSubview:tabBarController.view; with this one window.rootViewController = tabBarController; 4. build the application and change the Movie playback control style to Embedded (in the application settings) 5. Lauch the local video and set it to fullscreen mode. Expected Results: the methods viewWillDisappear and viewDidDisappear should not be called Actual Results: the methods viewWillDisappear and viewDidDisappear are called Regression: The MoviePlayer sample code doesn't work correctly anymore because in the method viewWillDisappear, the movie player is removed.
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!