zoukankan      html  css  js  c++  java
  • 程序启动流程

    //将要开始编辑
    - (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(@"结束时");
    }

  • 相关阅读:
    Eclipse 添加行号
    http中 get方法 传送中文参数乱码解决办法
    第一章 java 语言概述
    Python学习
    Python学习
    Python学习
    Python学习
    Python学习
    Python学习
    Python学习
  • 原文地址:https://www.cnblogs.com/-ios/p/4672608.html
Copyright © 2011-2022 走看看