4
使用MPMusicPlayerController
有没有办法查询轨道长度?MPMusicPlayerController轨道长度
使用.currentPlaybackTime我可以计算出我进入赛道有多远,但我无法知道赛道有多长。
我的[MPMediaItem valueForProperty:MPMediaItemPropertyAssetURL]
对于某些曲目返回null,所以使用AVAsset不适用于我。