app 启动时直接退出
来源:互联网 发布:手机量角器软件 编辑:程序博客网 时间:2024/06/05 02:43
ios系统有app启动时间限制,超过一定时间还未完成,系统会把程序kill掉,这样程序就crash。
https://developer.apple.com/library/ios/qa/qa1592/_index.html
A: Why does my application crash during launch unless I run it from Xcode?
iPhone OS uses a watchdog timer when applications are launched. If an application takes too long to complete its initial startup, the operating system terminates the application. Applications terminated for this reason will have the exception code 0x8badf00d
and related information noted in the associated crash report:
Crash report excerpt.
Exception Type: 00000020Exception Codes: 0x8badf00dHighlighted Thread: 0Application Specific Information:com.yourcompany.yourapp failed to launch in time elapsed total CPU time (seconds): 11.120 (user 1.840, system 9.280), 59% CPU elapsed application CPU time (seconds): 2.160, 12% CPU
When Xcode launches an application, the watchdog timer is disabled to compensate for additional overhead that may be incurred when Xcode attaches the debugger. As a result, your application's long startup may initially escape your attention if you are exclusively testing by running from Xcode.
The best applications launch quickly, allowing the user to interact with the application as soon as possible. To provide a quality user experience, you should routinely evaluate and work to improve the launch time of your application. If considerable work must be done at launch, consider performing that work on a secondary thread and visually indicating the activity.
- app 启动时直接退出
- 在当前app直接启动另一个app
- 在多层Activity里面直接退出app(一)
- 在多层Activity里面直接退出app(二)
- 开发app在android6.0运行直接退出解决
- 解决Hbuilder打包的app返回键直接退出
- copssh 点击红色启动按钮 直接闪退或退出
- app退出时,杀死进程
- 退出App
- apk安装后直接点击打开,多次启动APP
- 开发app在android6.0运行直接退出解决(二)
- 安卓APP集成支付宝,调用支付接口,直接退出程序了
- 主窗口关闭时怎么退出app
- Android App异常退出时重新启动
- oracle imp 直接退出
- Android直接强制退出
- 应用直接退出
- vs 出错 直接退出
- jQuery.fn.ajaxSubmit
- flex datagrid doubleclick实例
- NSString注意的地方 iOS
- 串的模式匹配
- unity3d调用第三方dll
- app 启动时直接退出
- 一例无光驱,无U盘 实现xp下格式化重新安装win7方法
- HDU 2485 Destroying the bus stations (看着像求最小割,但是是最小费用最大流)
- GNU C 、ANSI C、标准C、标准c++区别和联系
- ios局域网联机——苹果官方源码之WiTap剖析(一)
- ICTCLAS错误问题
- WINSOCK I/O方法(WSAEventSelect )
- 如何发外链
- java倒序算法