问题
I have a question that, Is it possible to get and play the iPod library songs / playlist using AVAudioPlayer instead of using MPMusicPlayer?
Thanks in advance, Chandra.
回答1:
One way i tried with is just copy the song from iPod library to your app then you can play. When you close then you can delete also those songs. But makes your app heavy in terms of size. See my post.
Another way i found is using AVPlayer of AVFoundation framework. This supports iPod library. For reference of AVPlayer you can go to post
来源:https://stackoverflow.com/questions/6581261/is-it-posible-to-play-ipod-songs-using-avaudioplayer