Whenever an application wakes up from the background .. it enters this delegate in the application delegate -
- (void)applicationWillEnterForeground:(UIApplication *)application { }
You can show msg to the user in this delet
Also check out these delegates -
- (void)applicationWillResignActive:(UIApplication *)application { } - (void)applicationDidEnterBackground:(UIApplication *)application { } - (void)applicationWillEnterForeground:(UIApplication *)application { } - (void)applicationDidBecomeActive:(UIApplication *)application { } - (void)applicationWillTerminate:(UIApplication *)application { }
source share