MPMoviePlayerController setFulscreen inconsistent behavior

Originator:evan
Number:rdar://10607186 Date Originated:20-Dec-2011 10:59 AM
Status:Closed Resolved:07-Feb-2012
Product:iOS SDK Product Version:5.0
Classification:Serious Bug Reproducible:Always
 
Summary:
Calling -setFullscreen:animated: sometimes works, and sometimes is ignored.

Steps to Reproduce:
1. Alloc and init an MPMoviePlayerController with a valid file or stream URL
2. Install MPMoviePlayerController's view into view controllers hierarchy in -viewDidLoad
3. call -setFullscreen:YES animated:NO

Expected Results:
When view controller loads, you have a full screen video playback view 

Actual Results:
No fullscreen view. MPMoviePlayerController's view is installed and embedded in the view hierarchy.

Regression:

Do all of the above, but call -setFullscreen: from an NSTimer and it'll work just fine.

Notes:

Comments

07-Feb-2012 04:21 PM Apple Developer Bug Reporting Team :

Engineering has determined that this issue behaves as intended based on the following information:

The video view needs to be in a window and the video needs to be prepared to play before calling setFullscreen:YES.


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!