Ios swift – When subclassing AVPlayer, is there a more direct way to know when a player item ends, than using notification center?
When using AVPlayer, the only way I know to detect the end of a video being reached, is to use the notification, just as you would when detecting the end of a video from the view controller. Eg, class FancyAVPlayer:…