<pre name= "code" class= "OBJC" ><p> if you double-click Home, will come to the iOS app switcher page, where the current system hangs the app, which has a screen for each app, I believe we are familiar with this stuff. It is actually each app in the,</p><p> before the app hangs on the screen. </p><p> So how do we customize its display on app switcher, understand that it is actually a screen for the app, then when it is fast into the background, we change its appearance, then load down the picture, do not change it? </p><p> code below </p>
@interface Appdelegate ()
{
Uiimageview *screenshotview;
}
@end
-(void) Applicationwillresignactive: (uiapplication *) application{if (!screenshotview) {screenshotview = [[ Uiimageview Alloc]initwithframe:[self.window frame]; [Screenshotview setimage:[uiimage imagenamed:@ "default-568h"]; [Self.window Addsubview:screenshotview]; } Screenshotview.alpha = 1;} -(void) Applicationdidbecomeactive: (uiapplication *) application{screenshotview.alpha = 0;}
Customize iOS by double-clicking the home key toggle