Uiapplicationdelegate protocol
Called when the app receives a memory warning
-(void) applicationdidreceivememorywarning: (uiapplication *) application;
Called when the app is in the background (such as pressing the home button)
-(void) Applicationdidenterbackground: (uiapplication *) application;
Called when the app has finished booting
-(BOOL) Application: (UIApplication *) application didfinishlaunchingwithoptions: (Nsdictionary *) launchOptions;
Application System Events
The program has finished loading application:didfinishlaunchingwithoptions:
Program gets focus Applicationdidbecomeactive:
The program goes backstage applicationdidenterbackground:
Program loses focus Applicationwillresignactive:
The program returns to the foreground from the backstage Applicationwillenterforeground:
Memory Warning Applicationdidreceivememorywarning:
The program is about to exit Applicationwillterminate:
IOS--UIApplication