问题
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.
来源:https://stackoverflow.com/questions/12603294/required-background-modes-ios6-xcode-4-5