问题
The question is can I have two instances of MPMoviePlayerController simultaneously in one UIViewController?
I'm trying to create a smooth transition between two movies in iPad app, but when I create the second MPMoviePlayerController the playback of first one is stopped and can't be resumed. I didn't found any restriction for having multiple MPMoviePlayerControllers in Apple documentation.
Thanks in advance.
P.S. Any other ideas about smooth transition between movies will be also appreciated.
回答1:
There is a restriction in the SDK doc.
Note: Although you may create multiple MPMoviePlayerController objects and present their views in your interface, only one controller at a time may play its movie. Blockquote
Check here: http://developer.apple.com/library/ios/#documentation/mediaplayer/reference/MPMoviePlayerController_Class/MPMoviePlayerController/MPMoviePlayerController.html
It's in the Overview section.
来源:https://stackoverflow.com/questions/3716352/multiple-mpmovieplayercontrollers-on-ios-3-2-4-0