I am trying to change a screenshot that iOS automatically captures when the application enters the background.
However, I'm not quite sure when this screen shot will be taken.
For instance:
If you pull out the notification bar when the following method is called in the application:
- (void) applicationWillResignActive:(UIApplication *) application { }
Also, if you double-click the home button when the same method is called in the application. In addition, if a warning is displayed, the applicationWillResignActive application appears.
But in both cases
- (void) applicationDidEnterBackground:(UIApplication *) application { }
not called.
So my question is: is there a screenshot after calling the WillResignActive application, even if the application is not in the background? Or does iOS capture only a screenshot after applicationDidEnterBackground?
source share