By default, audio only plays if the iOS device is unmuted (mute side switcher on iOS devices).

In order for audio to work by default, the app must declare that audio playback as a core feature of the app, and thus it should not be muted in “Silent Mode”.

This can be done by configuring the `AVAudioSessionCategoryPlayback` category: [Apple Developer Documentation](🔗)

You can choose from several audio session categories and settings to customize your app's audio behavior.

Bellow an example how to modify the `AppDelegate.application(_:didFinishLaunchingWithOptions:)` file to change the default behavior: