进入后台:
//申请将主动辞去活动
- (void)applicationWillResignActive:(UIApplication *)application;
//程序进入后台 - (void)applicationDidEnterBackground:(UIApplication *)application;
进入前台:
//程序即将进入前台
- (void)applicationWillEnterForeground:(UIApplication *)application;
//程序变为活动状态 - (void)applicationDidBecomeActive:(UIApplication *)application;
网友评论