Frage

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

War es hilfreich?

Lösung

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.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top