title: Detecting the Next and Previous Button Events in MPMoviePlayerController
body: <p>For my application I am using <code>MPMoviePlayerController</code>. The problem is that how should I detect the next and previous button events. Because in <code>MPMoviePlayerController</code> we can detect various events, but I cant find any method to detect the next and previous button events. The code I am using for detecting the other events are </p>
  
  <pre><code>- (void)moviePlayerPlaybackStateChanged:(NSNotification *)notification {
  MPMoviePlayerController *moviePlayer = notification.object;
  MPMoviePlaybackState playbackState = moviePlayer.playbackState;
  switch (playbackState) {
      case MPMoviePlaybackStateStopped:
          NSLog(@"stop");
          break;
      case MPMoviePlaybackStatePlaying:
          NSLog(@"playing");
          break;
      case MPMoviePlaybackStatePaused:
          NSLog(@"paused");
          break;
      case MPMoviePlaybackStateInterrupted:
          NSLog(@"Interrupted");
          break;
      case MPMoviePlaybackStateSeekingForward:
          NSLog(@"forward");
          break;
      case MPMoviePlaybackStateSeekingBackward:
          NSLog(@"backword");
          break;
      default:
          break;
  }
  </code></pre>
  
  <p>}</p>
  
  <p>I need this as I want to play the previous and next tracks in a playlist.</p>