title: How to stop AVPlayer at specific time?
body: <h1>My code :</h1>
  
  <pre><code>    playerController = [[AVPlayerViewController alloc]init];
  
  
      [[NSNotificationCenter defaultCenter] addObserver:self
                                               selector:@selector(playerItemDidReachEnd:)
                                                   name:AVPlayerItemDidPlayToEndTimeNotification
                                                 object:[playerController.player currentItem]];
  
      playerController.player = [AVPlayer playerWithURL:videoURL];
  
      playerController.view.frame = self.view.frame;
  
      [playerController.player seekToTime:kCMTimeZero];
  
      playerController.player.actionAtItemEnd = AVPlayerActionAtItemEndPause;
  
      [playerController.player play];
  
      [self presentViewController:playerController animated:YES completion:nil];
  </code></pre>
  
  <p>Here I stop the video in specific time.</p>