UIApplicationState
来源:互联网 发布:linux usb无线网卡 编辑:程序博客网 时间:2024/06/05 02:39
The running states of an app app的运行状态
Declaration
SWIFT
enumUIApplicationState : Int { case Active case Inactive case Background}
OBJECTIVE-C
typedefenum : NSInteger { UIApplicationStateActive,UIApplicationStateInactive,UIApplicationStateBackground } UIApplicationState;
Constants
UIApplicationStateActive
The app is running in the foreground and currently receiving events.
APP在前台运行并可以接收到事件
UIApplicationStateInactive
The app is running in the foreground but is not receiving events. This might happen as a result of an interruption or because the app is transitioning to or from the background.
APP在前台运行但是不能接收到事件。这可能是由中断导致的,或是因为APP正在过渡或者形成背景
UIApplicationStateBackground
The app is running in the background.
APP正在后台运行
0 0
- UIApplicationState
- 小码农的代码(三)----------SpringJDBC多数据源应用
- 代理设计模式
- Linux模块化机制和module_init
- 模重复平方计算法(快速幂)【Python实现】<信安数论>
- BZOJ 1036: [ZJOI2008]树的统计Count 【树链剖分】
- UIApplicationState
- JAP学习笔记(3)之映射关系和二级缓存
- React Native-5.React Native组件封装,组件传值实例开发
- $.ajax返回不执行success的原因
- nginx+php(包含mcrypt bcmath zendguardloader mysqli memcached redis扩展)安装配置手册
- 小码农的代码(二)----------SpringJDBC事务控制
- ubuntu14.04 源码安装 Python2.7.11
- Codeforces 617D Polyline (Round #340 (Div. 2) D题)
- Android5.0 新控件之RecyclerView,CardView,Palette的使用