我一直在浏览AVPlayerItem和AVPlayer文档,并且在项目完成播放时似乎没有任何回调.我希望我们可以使用某种代理回调,或者AVPlayerActionAtItemEnd为我们提供自定义操作.
AVPlayerItem
AVPlayer
AVPlayerActionAtItemEnd
我怎样才能找到一种方法来检测AVPlayer何时播放完一个项目?
ios avplayer
avplayer ×1
ios ×1