码迷,mamicode.com
首页 > 其他好文 > 详细

程序启动流程

时间:2015-07-24 10:40:43      阅读:85      评论:0      收藏:0      [点我收藏+]

标签:

//将要开始编辑
- (BOOL)textFieldShouldBeginEditing:(UITextField *)textField
{
    NSLog(@"快要开始编辑了");
    return YES;

}

 

- (void)applicationWillResignActive:(UIApplication *)application//解除活跃状态
{

    NSLog(@"将要进入不活跃状态");
}

 

 

- (void)applicationDidEnterBackground:(UIApplication *)application//进去后台
{
    NSLog(@"已经发进入后台");
}

 

 

 

- (void)applicationWillEnterForeground:(UIApplication *)application//进入前台
{
    // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.
    NSLog(@"将要进入前台");
}

 

 

 

 

- (void)applicationDidBecomeActive:(UIApplication *)application//变为活跃状态
{

    NSLog(@"变为活跃状态");
}

 

 

 

- (void)applicationWillTerminate:(UIApplication *)application//结束
{
 
    NSLog(@"结束时");
}

 

程序启动流程

标签:

原文地址:http://www.cnblogs.com/-ios/p/4672608.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!