Domanda

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

È stato utile?

Soluzione 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.

Altri suggerimenti

use pause method to do it

[moviePlayer pause];

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top