How to run code when an AVQueuePlayer finishes playing an item

Hello,

 

I would like to be able to figure out when an AVQueuePlayer finishes playing an item, and run some code when it does, possibly adding a target that looks for this or somehow getting the delegate attached to my ViewController file. How would I do this?

 

Thanks in advance. Any help is appreciated.

Powered by WPeMatico

About

You may also like...

Comments are closed.