Detecting Current Item in AVQueuePlayer and Knowing when it Changes?
问题 I currently have an AVQueuePlayer playing a few .aif files in sequence. As it goes through each audio I want to perform an action related to that specific sound (for example changing an imageview's uiimage). My problem is setting the NSNotification correctly. I've set it to notify me when the queue finished with the last object, but I'm having trouble receiving an a notification for each current item. Here is what I have: //Setting Up My Queue List yellowVoice = [[AVPlayerItem alloc]