开发者

iphone sdk: Is it possible to play audio playlist in the background in iOS 4

I tried to implement this. My original post is here

iphone: playing audio playlist in the background?

So after some testing I begin to doubt whether it's even possible. does anyone know whether it's possible to use AV开发者_StackOverflowAudioPlayer to play multiple tracks in the background? I myself haven't found apps that have this. What I have found are apps like pandora, that stream audio (and probably use one call to AVAudioPlayer)


THE SOLUTION

Just add [[UIApplication sharedApplication] beginReceivingRemoteControlEvents]; and some other tweaks. It's all here https://devforums.apple.com/message/264397


THE SOLUTION

Just add [[UIApplication sharedApplication] beginReceivingRemoteControlEvents]; and some other tweaks. It's all here https://devforums.apple.com/message/264397

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜