Objective-C, iPhone How play audio files from different URLs in sequence?
I need to play 3 audio files in sequence, from 3 different 开发者_运维技巧URLs in my iPhone app.
How can I do this?
The AVQueuePlayer
does exactly this. Create an array of AVPlayerItem
objects, and pass in the array when you create the AVQueuePlayer
.
- AVQueuePlayer Reference
精彩评论