Totatlly forgot how to do this, so I had to look it up...
Use the following methods to catch application exit notifications:
- (void)applicationWillTerminate:(UIApplication *)application
Use this method to catch application interrupt notification:
- (void)applicationWillResignActive:(UIApplication *)application
Use this method to catch application resume notification:
- (void)applicationDidBecomeActive:(UIApplication *)application
No comments:
Post a Comment