Dealing with the app going into the background
I have recently started testing the different states my app can be in when going to the background (pressing the home button). It seems that the exact state of the game is not preserved, since I have a custom pause that is lost when going to the background. If the app returns from the background my pause routine (which is done through groups being enabled/disabled) is always unpaused when returning from the background.
Can anyone explain what happens when the game resumes from a background state? Is the game loop run like a "restart" frame event being called or something similar? This is especially troublesome for dealing with sounds.
Dealing with the app going into the background
Perhaps it's toggling the pause so the pause turns off when you return to the paused app? Try maybe "App reactivated + App is NOT paused: Pause app"?