MPMoviePlayerController full screen calls viewWillDisappear:animated
| Originator: | rjo218 | ||
| Number: | rdar://12433234 | Date Originated: | 10/4/2012 |
| Status: | Closed | Resolved: | |
| Product: | iPad SDK | Product Version: | 6.0 |
| Classification: | Other bug | Reproducible: | Always |
Summary: Going fullscreen on an MPMoviePlayerController causes the parent's viewDidDisappear:animated and viewWillDisappear:animated to trigger on iOS 6 on the iPad. Steps to Reproduce: 1) In a view controller, create a MPMoviePlayerController and place it on screen. 2) Implement viewWillDisappear:animated on the view controller with a NSLog to show evidence of the method firing. 3) Run the app, make the video go full screen. The event is triggered. Expected Results: View controller should not report that its view has disappeared. Actual Results: viewWillDisappear:animated and viewDidDisappear:animated methods are fired when MPMoviePlayerController goes to full screen. Regression: In iOS 5 and below, this does not seem to happen. Notes: Have been using a combination of the view disappearance methods and MPMoviePlayerController fullscreen boolean to work around the problem, as described here: http://stackoverflow.com/questions/12604825/entering-full-screen-in-mpmovieplayercontroller-calls-viewwilldisappear-and-view Submitted to bugreport.apple.com.
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!