Background Audio

suggest change

By default, audio stops when the user leaves the app. To keep playing, turn on Audio in the Background Modes capability.

That checkbox is not enough on its own. Set the shared AVAudioSession category to one that allows playback, such as AVAudioSessionCategoryPlayback, and activate the session before starting the player.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents