AVAudioSessionSetActiveOptionNotifyOthersOnDeactivation无法工作
方法:AVAudioSessionSetActiveOptionNotifyOthersOnDeactivation无法工作,ios,objective-c,avfoundation,Ios,Objective C,Avfoundation,方法: [[AVAudioSession sharedInstance] setActive:NO withOptions:AVAudioSessionSetActiveOptionNotifyOthersOnDeactivation error:nil] 不适用于恢复背景音乐。 我的应用程序音频会话类别为AvaudioSessionCategoryPlay和Record 谁知道发生了什么事
[[AVAudioSession sharedInstance] setActive:NO withOptions:AVAudioSessionSetActiveOptionNotifyOthersOnDeactivation error:nil]
不适用于恢复背景音乐。
我的应用程序音频会话类别为AvaudioSessionCategoryPlay和Record
谁知道发生了什么事