https://stackoverflow.com/questions/1013988
题
我正在尝试找到播放mp3网址的最佳方式。我尝试过Audiostreamer,但它不适合我的需求,因为它面向无限的流,而不是有限的流。
感谢任何帮助!
谢谢!
解决方案
AVAudioPlayer是你的答案:
http://developer.apple.com/iPhone/library/documentation/AVFoundation/Reference/AVAudioPlayerClassReference/Reference/Reference.html#//apple_ref/occ/instm/AVAudioPlayer/initWithContentsOfURL:error 一个>: