I am playing back a queue of multiple audio files using AVQueuePlayer
. I have not been able to detect that the last audio file finished playback.
For AVAudioPlayer
there is AVAudioPlayerDelegate
with audioPlayerDidFinishPlaying
, however that seems not to apply to AVQueuePlayer
.
How do I detect that AVQueuePlayer
finished playback?