Domanda

How can I call a custom -(void) in the parentViewController of a MPMoviePlayerViewCotroller when is is dismissed?

È stato utile?

Soluzione

Try to call it in the viewDidAppear of the parentViewController.

Set a flag before showing the MPMoviePlayerViewController and check it in viewDidAppear. Then call your own method accordingly.

Hope this helps.

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