[英]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.