as topic... is it possible ?
Thanks
again, I have attached the code as follows, please check which step is wrong .thanks.
//@step
AudioS
As of iOS 6, there is an alternative method that's more compact than Ramin's answer.
#import
[[AVAudioSession sharedInstance] setCategory:AVAudioSessionCategoryPlayback
error:nil];
To allow background audio from other apps to continue playing, add the AVAudioSessionCategoryOptionMixWithOthers
option:
[[AVAudioSession sharedInstance] setCategory:AVAudioSessionCategoryPlayback
withOptions:AVAudioSessionCategoryOptionMixWithOthers
error:nil];
There's further details in Apple's AVAudioSession Class Reference.