title: Done button event MPMoviePlayerController
body: <p>On my iPhone i'm playing video/audio files in fullscreen mode. When the video/audio file reached its end then the following method is triggered:</p>
  
  <pre><code>- (void) movieFinishedCallback:(NSNotification*) aNotification {
      MPMoviePlayerController *player = [aNotification object];
  
      [player stop];
  
      [[NSNotificationCenter defaultCenter] 
          removeObserver:self
          name:MPMoviePlayerPlaybackDidFinishNotification
          object:player];
  
      [player autorelease];
      [moviePlayer.view removeFromSuperview];
  
      NSLog(@"stopped?");
  }
  </code></pre>
  
  <p>That works fine! But the problem is when i press on the "Done" button when the video/audio file is still playing. Then this method doesn't get triggered...</p>
  
  <p>Anyone any idea how to catch the event when the "Done" button is pressed? Because right now media player stays in the view. Its not disappearing.</p>