问题描述
问题是我可以在一个UIViewController中同时拥有两个MPMoviePlayerController实例吗?
The question is can I have two instances of MPMoviePlayerController simultaneously in one UIViewController?
我正在尝试在iPad应用中的两部电影之间创建平滑过渡,但是当我创建第二个MPMoviePlayerController时,第一个播放停止并且无法恢复。我没有发现在Apple文档中有多个MPMoviePlayerControllers有任何限制。
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.
提前致谢。
P.S。关于电影之间平滑过渡的任何其他想法也将受到赞赏。
P.S. Any other ideas about smooth transition between movies will be also appreciated.
推荐答案
SDK文档中存在限制。
There is a restriction in the SDK doc.
注意:虽然您可以创建多个MPMoviePlayerController对象并在界面中显示其视图,但一次只能有一个控制器播放其影片。
Blockquote
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
点击此处:
它位于概述部分。
这篇关于iOS 3.2 / 4.0上的多个MPMoviePlayerControllers的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!