有没有办法阻止iOS6杀死特定的任务进程?

有没有办法阻止iOS6杀死特定的任务进程?

问题描述:

我知道iOS有自己的任务管理方法,用户可能永远不需要关心流程背景。但我的要求是始终保持一个程序存活,在任何情况下都不能被杀死。

I know that iOS has its own task management method and users may never need to care about the processes background. But my requirement is to ALWAYS keep a program alive, it cannot be killed under any circumstance.

有没有办法像LOCK或其他功能已经存在?我正在使用iPad4 ios6.01系统。

Is there a way to do this like "LOCK" or something else function already existed? I'm using iPad4 ios6.01 system.

谢谢

不,那是不可能的。 (如果你考虑它也不应该这样。什么阻止每个应用程序说它不会被杀死?)

No, that's not possible. (Nor should it be if you think about it. What's to stop every app from saying that it can't be killed?)

你能得到的最接近的是那些在后台运行的VoIP应用程序,并在它们死后自动重生。

The closest you can get is for things like VoIP apps that do run in the background and automatically respawn when they die.

另一种方法是像其他应用程序一样工作:当你的应用程序进入后台保存状态,以便您可以恢复它是否被杀死。 iOS 6甚至具有状态恢复功能。

The alternative is to work like every other app: when your app goes into the background you save state so you can restore if it gets killed. iOS 6 even has the state restoration functions.