如何从下一首歌曲开始,或者在播放AVPlayer的过程中认出一首歌曲已经完成?

如何用AVPlayer立即启动下一首歌曲? 我有从MPMediaItemCollection iPod库中select歌曲的集合。

现在我怎样才能使用AVPlayer的歌曲列表一一播放?

为了回答你的第一个问题,你可以使用通知与

 [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(songFinished:) name:AVPlayerItemDidPlayToEndTimeNotification object:[yourAVPlayer currentItem]]; -(void)songFinished:(NSNotification *)notification { //Do your next stuff here; }