- - (void)application:(UIApplication *)application didFinishLaunchingWithOptions:
- (NSDictionary *)launchOptions {
- NSLog(@"%@, NSStringFromSelector(_cmd));
- }
- - (void)applicationWillResignActive {
- NSLog(@"%@", NSStringFromSelector(_cmd));
- }
- - (void)applicationDidBecomeActive {
- NSLog(@"%@", NSStringFromSelector(_cmd));
- }
- - (void)applicationDidEnterBackground {
- NSLog(@"%@", NSStringFromSelector(_cmd));
- }
- - (void)applicationWillEnterForeground {
- NSLog(@"%@", NSStringFromSelector(_cmd));
- }
- - (void)applicationWillTerminate:(UIApplication *)application {
- NSLog(@"%@", NSStringFromSelector(_cmd));
- }
- //该片段来自于http://www.codesnippet.cn/detail/051220137761.html
来源: http://www.codesnippet.cn/detail/051220137761.html