ios 音乐播放,音乐信息显示方法

下面的博客写的很清楚了

http://msching.github.io/blog/page/2/

主要涉及AVAudioPlayer和下面这几个函数

MPNowPlayingInfoCenter.defaultCenter().nowPlayingInfo = [MPMediaItemPropertyAlbumTitle:"aaa"]   UIApplication.sharedApplication().beginReceivingRemoteControlEvents()

原文地址:https://www.cnblogs.com/breezemist/p/4398792.html