程序启动流程
//将要开始编辑
- (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(@"结束时");
}
posted on 2015-07-24 10:10 yucaijiang 阅读(201) 评论(0) 编辑 收藏 举报