???????UIApplication ????????
????????IOS??ó????????????UIApplication????IOS?????UIApplication????????ó???????????????????????ó??????UIApplication????????????????????????????????UIApplication???????????????????
????????IOS??ó??????5????
????Not Running: ??ó?????????????????ó??????????У????????????
????Inactive????ó????????????У???????????????????????????????????????????
????Active : ?????ó????????????У?????????????
????Background????ó????????????????????д???
????Suspended????ó?????????????????д???
???????????????UIApplicationDelegate??????????UIApplication??????????????????
?????????UIApplication??????????????????й???????
1 //
2 - (void) applicationWillResignActive: (UIApplication *) application
3
4 //
5 - (void) applicationDidBecomeActive: (UIApplication *) application
6
7 //
8 - (void) applicationDidEnterBackground: (UIApplication *) application
9
10 //
11 - (void) applicationWillEnterForeground: (UIApplication *) application
12
13 //
14 - (void) applicationWillTerminate: (UIApplication *) application
15
16 //
17 - (void) applicationDidReceiveMemoryWarning: (UIApplication *) application
18
19 //
20 - (void) applicationDidFinsihLaunching: (UIApplication *) application
21
22 //
23 - (BOOL) application: (UIApplication *) application handleOpenURL: (NSURL *) url