Stop another app's background audio

edited September 2013

How do I stop background audio from another app? Is it possible without registering my app for background audio?

I have tried

NSError *error;  
[[AVAudioSession sharedInstance] setCategory:AVAudioSessionCategoryPlayback error:nil];  
[[AVAudioSession sharedInstance] setActive:YES error:&error];

when my app launches, but it doesn't work.

Is there an Amazing Audio Engine setting I need to configure to turn off another app's background audio? Or some other code to run?


Sign In or Register to comment.