简体   繁体   English

如果用户长时间不使用iOS,iOS是否会杀死我的iPad App?

[英]Does iOS kill my iPad App if not used by user for a long time?

Suppose I am using one App (no other App is active). 假设我正在使用一个应用程序(没有其他应用程序处于活动状态)。 Now I lock the iPad by simply clicking the lock button or may be I put it in background mode and put my iPad somewhere. 现在,我只需单击锁定按钮即可锁定iPad,或者我可以将其置于后台模式并将iPad放置在某处。

After what amount of time, the App will get killed automatically by system if I don't use that App? 经过多少时间后,如果我不使用该应用程序,该应用程序将被系统自动杀死? Is there any specification by Apple or we cannot say anything that App will launch from scratch in some scenarios. Apple是否有任何规范,或者我们不能说App在某些情况下将从头启动。

Note that in any scenario, I don't kill my App manually. 请注意,在任何情况下,我都不会手动杀死我的应用程序。

iOS generally (at least in current versions) doesn't kill apps after some arbitrary time. 通常,iOS(至少在当前版本中)在任意时间后不会终止应用程序。 It kills them when it needs to free up resources. 当需要释放资源时,它将杀死它们。 Since modern iPads have quite a bit of memory, that means that apps can stay in the background for a very long time depending on how the iPad is used. 由于现代iPad具有相当大的内存,这意味着应用程序可以在后台长时间停留,具体取决于iPad的使用方式。 As Andreas notes, however, there are no promises about that. 但是,正如安德里亚斯(Andreas)所指出的那样,对此没有任何承诺。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我如何从终止状态重新启动我的 iOS 应用程序以执行长时间任务? - How Do i relaunch my iOS app from Kill state for long task? 为什么我的iOS应用需要很长时间才能在设备上加载? - Why is my iOS app taking a long time to load on my device? 当用户杀死我的应用程序时,我的iOS应用程序能否保持运行代码? - Is it possible for my iOS app to keep running code when a user kill my app? iOS:有没有办法知道当前的iOS用户是否曾经使用过我的应用 - iOS: Is there a way to know if the current user of iOS ever used my app 当前用户在iOS 7上杀死应用后无效 - Current User nil after kill app on iOS 7 如果我将 iOS 应用程序从 XCode 发布到我的 iPad,它会在 iPad 中保留多少天? - How many days does an iOS app stay in the iPad if I publish it from XCode to my iPad? 如果它变得没有响应,iOS会杀死我的应用吗? - Will iOS kill my app if it becomes unresponsive? 在iOS应用中长时间下载 - Long time downloading in iOS app 有时,当应用程序被ios中的用户杀死时,应用程序不提供iBeacon通知 - Sometimes App is not giving notification of iBeacon when app is kill by user in ios 我的ios应用中使用的图像 - Images used in my ios app
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM