更新时间:2022-05-08 00:37:57
我认为它具有相同的作用,但是您是否尝试过像这样通过AVFoundation设置设置?
I think it does the same thing, but have you tried, setting the setting throught AVFoundation like so?
[[AVAudioSession sharedInstance] setCategory:AVAudioSessionCategoryPlayback error:nil];
[[AVAudioSession sharedInstance] setActive: YES error: nil];