My game is using Box2D and when I press the home button to quit the app, it sort of drops to about 2fps and the physics stuff goes a bit crazy and then the app quits and simultaneously sends the notification to the app delegate in - (void)applicationWillTerminate:(UIApplication *)application which is obviously too late for me to do anything that the user will see.
So does anyone know if I can catch the user's home button action and cleanup my game scene a bit before the app actually quits?