sound still playing when lost focus

In my app, when you press the lock button, or the device goes to sleep, or you close a smart cover, the music & sound is still playing in the background.

Should it stop automatically or should I be stopping the sounds when the app looses focus?


seems to me it should stop…
i haven’t had that problem, but i also tend to use native ios code for playing track music.
can you post a snippet of code you are using to play the music.


Chris, did you figure it out?

I was thinking you could turn it off in your delegate here:

- (void)applicationWillResignActive:(UIApplication *)application