开发者

AVAudioplayer should automatically switch to next song

i have created a music application i开发者_JAVA技巧n which there are 90 songs.when i click on a particular song it plays. i need that when i click on a particular song it should switch to next song automatically when the current songs completes.Please help me in solving this problem


Use an AVAudioPlayerDelegate to detect when a song finishes playing (audioPlayerDidFinishPlaying:successfully:). Then start playing the next song.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜