appFailedToResumeInTime 崩溃
当我在 iphone 3g 和 ios 4.2.6 上测试我的应用程序时,当我退出后启动应用程序时,我的应用程序有时会出现空白屏幕。并且调用了 applicationwillenterforeground 方法。当时任何人都可以解释我如何解决这个问题
当我在 4 中运行应用程序时,它工作正常,但如果我在 3g 中运行应用程序。我的应用程序有时会崩溃,说 appFailedToResumeInTime ..即使我从 appdelegate 方法中移出了所有连接过程
when i am testing my application on iphone 3g and ios 4.2.6 my app is getting blank screen some times when i launch the app after quitting that .and applicationwillenterforeground method is called .at that time can any one explain me how to sort out this
and when i am running the application in 4 it is working fine but if i run my application in 3g . my app is getting crashed some times saying appFailedToResumeInTime .. even though i moved out all the connectivity process from appdelegate method
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
尝试用力重置设备,按住睡眠按钮和主页按钮,直到设备自行关闭。在此过程中,您设备中的数据不会丢失。
Try hard resetting the device, press and hold the sleep and home buttons until the device turns off itself. No data from your device will be lost during this process.
听起来您恢复时间太长,操作系统正在终止您的应用程序(我认为您有大约 10 秒的时间来启动)。我猜想,在较新的硬件上,它发生得更快,并且击败了操作系统。
研究优化您的启动/恢复代码。
It sounds like you are taking too long to resume and the OS is terminating your app (I think you have about 10 secs to launch). I would guess that on the newer hardware it is happening a quicker and just beating the OS.
Look into optimising your start up/resume code.