title: Timeline Progress bar for AVPlayer
body: <p><code>AVPlayer</code> is fully customizable, unfortunately there are convenient methods in <code>AVPlayer</code> for showing the time line progress bar.</p>
  
  <pre><code>AVPlayer *player = [AVPlayer playerWithURL:URL];
  AVPlayerLayer *playerLayer = [[AVPlayerLayer playerLayerWithPlayer:avPlayer] retain];[self.view.layer addSubLayer:playerLayer];
  </code></pre>
  
  <p>I have an progress bar that indicates the how video has been played, and how much remained just as like <code>MPMoviePlayer</code>.</p>
  
  <p>So how to get the timeline of video from <code>AVPlayer</code> and how to update the progress bar </p>
  
  <p>Suggest me. </p>