MPMoviePlayerController leaves behind its fullscreen modal view on iPhone

Originator:stephen
Number:rdar://12354379 Date Originated:22-Sep-2012 11:21 PM
Status:Open Resolved:
Product:iPhone SDK Product Version:6.0
Classification:Other Bug Reproducible:Always
 
Summary:
On iPhone, calling setFullscreen:animated: leaves behind its black modal view after dismissing from fullscreen,
removing from superView and setting the movie player controller to nil.

iOS 5 doesn't seem to mind.

Steps to Reproduce:
- Initialise an MPMoviePlayerController
- Add the movie player view to superview.
- Call setFullscreen:animated: on the movie player to make it fullscreen.
- After the movie plays for a bit, pause the movie.
- Call setFullscreen:animated: on the movie player to remove it from fullscreen.
- Remove the movie player view from the superview.
- Set the movie player to nil.

Expected Results:
- The previous view of the super view should be visible.

Actual Results:
- The movie player's black modal view is left fullscreen.

Regression:
- Works in iOS 5.

Notes:

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!