0

Currently I have an audio session where I use

audioSession = [AVAudioSession sharedInstance];

to override the ringer but I would like to know if there is a way that I can undo this so that my audio session will not be a shared instance.

Midhun MP
  • 103,496
  • 31
  • 153
  • 200
JohnAnge Kernodle
  • 239
  • 1
  • 3
  • 20

1 Answers1

0

No. An iOS app's audio session is automatically shared by the OS, the manner of sharing depending on the audio session category that your app configures, and the state of the app (foreground or background, etc.). Incoming phone calls (etc.) can interrupt and override your app's session.

hotpaw2
  • 70,107
  • 14
  • 90
  • 153