Required background modes iOS6 Xcode 4.5

2019-06-24 00:22发布

问题:

I've noticed that in Xcode 4.5 and iOS6 'required background modes' - 'app plays audio' doesn't work!

Has anybody else noticed this if so have you found a fix?

Thanks.

回答1:

I believe it can be dependent upon the type of category you specify for the AVAudioSession... Ensure it is set to AVAudioSessionCategoryPlayback when initializing your session.