zoukankan      html  css  js  c++  java
  • UIApplication类

    1.UIApplication类

    每个应用程序都只有一个UIApplication 类的实例对象,运行起来的应用程序就是一个UIApplication对象

     UIApplicationMain

    创建UIApplication对像的一个单例对象(singleton)

    Task

    Getting the App Instance 获取单例对象

    Getting the APP Delegate 获取应用程序代理--捕获程序状态

    Getting App Windows 获取窗口

    Controling and Handing Event 处理事件

    Opening a URL Resouce 打开外部App资源

    Configuring for Remote Notification  Setting 配置用户的通知

    Registering for Remote Notifications  远程通知

    Registering for Local Notifications 本地通知

    Managing Background Execution 管理后台的执行

    Managing Home Screen Quick Actions for 3D Touch 快捷方式

    Controlling App Appearance 管理程序的外观

    NSStringFromClass 将一个类转化为字符串形式

    NSStringfromClass ([AppDelegate class])

    应用程序代理和app共同运行,确保程序与系统或者其他程序之间的交互

    应用程序代理是程序的root对象,整个程序运行过程中都一直存在

  • 相关阅读:
    Bzoj1305 [CQOI2009]dance跳舞
    Bzoj1269 [AHOI2006]文本编辑器editor
    Bzoj2957 楼房重建
    POJ1704 Georgia and Bob
    UVa11427 Expect the Expected
    POJ2096 Collecting Bugs
    Bzoj3041 水叮当的舞步
    Bzoj3894 文理分科
    Bzoj1426 收集邮票
    Bzoj1076 [SCOI2008]奖励关
  • 原文地址:https://www.cnblogs.com/yangqinglong/p/5089757.html
Copyright © 2011-2022 走看看