MPMoviePlayerController vs. UIMoviePlayerController?
Hi Guys,
I am having some small troubles with MPMoviePlayerController. In my searches online I see that there is something called UIMoviePlayerController. Is that the official class to use for playing movies on the iPhone? Or did MPMoviePlayerController supplant UIMoviePlayerController?
The reason I ask is that I can only play a movie once. If the User hits the 'done' button, the next movie to be played is not played (it looks as though the movie will play, but then I just get a blank screen). I saw in some forums that this can be solved by calling
[theUIMovieController unlockMoviePlaybackResources]
but there is no such thing as a UIMoviePlayerController in my iPhone documentation, and the Movie sample uses MPMoviePlayerController.
I'm confused.
Thanks for any help you can provide?
|