iphone - iOS 杀死 myapp 问题

标签 iphone ios background

Oct  5 16:23:07  com.apple.launchd[1] <Notice>: (UIKitApplication:com.gx.uxart[0x57b0]) Exited: Killed: 9

Oct  5 16:23:07  com.apple.launchd[1] <Notice>: (UIKitApplication:com.hahainteractive.bookswing[0x2339]) Exited: Killed: 9

Oct  5 16:23:07  com.apple.launchd[1] <Notice>: (UIKitApplication:com.nike.nikeplus-gps[0xf40f]) Exited: Killed: 9

Oct  5 16:23:07  backboardd[28] <Warning>: Application 'UIKitApplication:net.nyvra.NYSliderPopoverDemo[0x43d]' exited abnormally with signal 9: Killed: 9

Oct  5 16:23:07  backboardd[28] <Warning>: Application 'UIKitApplication:com.croquis.CookieWords[0xcc22]' exited abnormally with signal 9: Killed: 9

Oct  5 16:23:07  backboardd[28] <Warning>: Application 'UIKitApplication:com.gx.uxart[0x57b0]' exited abnormally with signal 9: Killed: 9

Oct  5 16:23:07  backboardd[28] <Warning>: Application 'UIKitApplication:com.hahainteractive.bookswing[0x2339]' exited abnormally with signal 9: Killed: 9

Oct  5 16:23:07  backboardd[28] <Warning>: Application 'UIKitApplication:com.nike.nikeplus-gps[0xf40f]' exited abnormally with signal 9: Killed: 9

我的应用程序是 com.gx.uxart。我有任何问题。

com.apple.lanuchd 是什么? (我知道 backboard 就是 SpringBoard Daemon。)

为什么 ios 会终止我的应用程序?内存使用情况?

如何防止应用程序被 iOS 杀死?内存优化?

最佳答案

launched 是所有进程之父.. 在 unix 下它是 inits IIRC。
它的工作是启动、重新启动和杀死守护进程/应用程序,包括我猜的跳板

但这对你的情况并不重要:)重要的是你不能可靠地阻止操作系统杀死你的应用程序。随时都可能被杀死。没有恒定的背景模式。 Apple 对此进行了详细说明:

任何进入 bg 的应用程序都可以请求通过它启动的 backgroundTask 继续运行。然后你可以得到你想要多少时间……理论上。实际上:您不应该使用内存、CPU 时间或消耗电量,否则您仍然会被杀死。

推测

在你的情况下,它确实看起来操作系统杀死了尽可能多的应用程序,以便让更多的人使用 nikeplus-gps ...但这还不够,所以它也必须杀死 nikeplus

关于iphone - iOS 杀死 myapp 问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19214654/

相关文章:

html - 背景视频大小问题

javascript - Div 作为模式 - javascript

iphone - 突出显示单个烛条的核心图

ios - 在 iPhone 上同时打开闪光灯和前置摄像头

iphone - 无法获取Google Analytics(分析)API来在iPhone上注册页面浏览量

ios - iOS 17 中弃用了一堆 UIGraphics 方法,没有明确的替代方案?

ios - 如何熟悉代码签名问题?

iphone - 如果服务器上更新,则通过 FTP 下载到 iphone

iphone - iOS 设备因未知原因崩溃

html - Reveal.js 中如何循环数据背景视频?