You can use a notification to let you know when it's finished, so you can remove it from the view and allow the previous view on the screen.
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(moviePlaybackComplete:) name:MPMoviePlayerPlaybackDidFinishNotification object:self.player.moviePlayer];
Remember to delete the notification in moviePlaybackComplete:
MPMoviePlayerController *moviePlayerController = [notification object]; [[NSNotificationCenter defaultCenter] removeObserver:self name:MPMoviePlayerPlaybackDidFinishNotification object:moviePlayerController];
source share