iOS AVAudioSession interruption notification not working as expected

前端 未结 3 1959
感动是毒
感动是毒 2020-12-17 09:58

I want to know when my AVAudioRecorder is inaccessible (e.g when music starts playing).

As audioRecorderEndInterruption will be deprecated

3条回答
  •  清酒与你
    2020-12-17 10:08

    If you haven't already, try setting your AVCaptureSession's property usesApplicationAudioSession to NO.

    This question & answer may act as a good reference if you're looking for any more detail.

提交回复
热议问题