I'm playing a video with MPMoviePlayerViewController
on the iPad. Problem is: I can pinch the video to go in fullscreen mode, but if I try to pinch again to go back to window mode it freezes. It doesn't crash the app, it just "pauses" the video and I can't exit fullscreen mode anymore.
Has anyone experienced this? Thanks.
Edit: it seems a MPMoviePlayerPlaybackDidFinishNotification
is getting sent whenever I try to exit fullscreen mode.
Update: I found that this behavior exists only if I set moviePlayer.controlStyle
to MPMovieControlStyleNone
.