iPhone崩溃日志:无法及时恢复 [英] iPhone Crash Log: Failed to Resume in Time

查看:294
本文介绍了iPhone崩溃日志:无法及时恢复的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在查看我的崩溃日志,并注意到无法及时恢复

I am looking at my crash logs and noticed "failed to resume in time"

Application Specific Information:
com.myApp.MyApp failed to resume in time 
elapsed total CPU time (seconds): 0.680 (user 0.350, system 0.330), 7% CPU 
elapsed application CPU time (seconds): 0.130, 1% CPU

如何及时恢复?

推荐答案

我认为这个错误意味着你在主线程上做太长时间了。

I think that error means that you're doing something on the main thread that takes too long. The phone becomes unresponsive and the OS kills your app.

尝试在可能的情况下使用异步API,或在后台主题中运行长时间运行的任务。

Try to use asynchronous APIs if possible, or run the long-running task in a background thread.

这篇关于iPhone崩溃日志:无法及时恢复的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆