MPMoviePlayerController behavior changed when entering full screen playback.
||Date Originated:||19-Sep-2012 04:17 PM|
19-Sep-2012 04:17 PM Julien Delarbre:
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
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.
the methods viewWillDisappear and viewDidDisappear should not be called
the methods viewWillDisappear and viewDidDisappear are called
The MoviePlayer sample code doesn't work correctly anymore because in the method viewWillDisappear, the movie player is removed.
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!