0

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

user1710004
  • 209
  • 1
  • 4
  • 12

1 Answers1

2

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.

FD_
  • 12,947
  • 4
  • 35
  • 62