title: MPMoviePlayer not removing from superview
body: <p>I am using the following code to play video files in MPMoviePlayerController</p>
  
  <pre><code>  NSString* filePath = [[NSBundle mainBundle] pathForResource:@"one" ofType:@"mp4"];
      NSURL*  url = [NSURL fileURLWithPath:filePath];
  
      _movie = [[MPMoviePlayerController alloc] initWithContentURL:url];
      [_movie.view setFrame:self.view.bounds];
      [self.view addSubview:_movie.view];
      _movie.fullscreen=YES;
      _movie.controlStyle=MPMovieControlStyleFullscreen;
      [_movie prepareToPlay];
      [_movie play];
  </code></pre>
  
  <p>and </p>
  
  <pre><code> [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(close:)name:MPMoviePlayerPlaybackDidFinishNotification object:_movie];
  </code></pre>
  
  <p>and </p>
  
  <pre><code>- (void) close:(NSNotification *)notification {
  
      int reason = [[[notification userInfo] valueForKey:MPMoviePlayerPlaybackDidFinishReasonUserInfoKey] intValue];
  
      if(reason == MPMoviePlaybackStateStopped) {
  
          NSLog(@"Stop");
  
      }
      else if (reason == MPMovieFinishReasonPlaybackEnded) {
          NSLog(@"Playback Ended ");
      }
      else if (reason == MPMovieFinishReasonUserExited) {
  
          NSLog(@"Exited");
          [_movie.view removeFromSuperview];
      }
      else if (reason == MPMovieFinishReasonPlaybackError) {
          //error
          NSLog(@"Error");
      }    
  }
  </code></pre>
  
  <p>I am able to get the Notification , and the Movieplayer is not removing from the superview.</p>
  
  <p>What could be the problem ??</p>