I'm trying to create an MPMoviePlayer as paused at appearance. I've tried doing just a regular pause, as a selector with 0.1s delay, let NSNotificationCenter pause it as soon as the movie started (This did work, but with a slight delay. The movie played for a second before paus).

Is there a way to keep it paused from first appearance?

Thanks in advance

有帮助吗?

解决方案 2

Sorry for taking y'alls time... A friend helped me just after I posted the question.

Apparently there is a property called shouldAutoplay that I missed in the documentation.

Just use that.

其他提示

use pause method to do it

[moviePlayer pause];

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top