Question

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

Était-ce utile?

La solution 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.

Autres conseils

use pause method to do it

[moviePlayer pause];

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top