I have one TableViewController and I play video on that Table by tapping button inside cell to play by AVPlayer by code
@IBAction func btnFullScreen(sender: AnyObject) {
let playController = AVPlayerViewController()
self.presentViewController(playController, animated: true, completion: nil)
playController.player?.play()
}
So, It will play the video in full screen, and also exist with done button on the top left. I want to get event done button, after click the done button it will get the current time of player to do more something else. but how to get the event click done button?