iPhone应用程序可以在设备启动后自动启动? [英] iPhone App can autolaunch after device boot?
本文介绍了iPhone应用程序可以在设备启动后自动启动?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在AppStore上看到一个名为 PhoneRecover 的应用。
Saw an app called PhoneRecover on the AppStore.
他们宣传以下内容:
- 重启后,PhoneRecover将自动重启iPhone 3GS和运行iOS4的iPhone 4.
这怎么可能?什么API用于在启动后自动启动应用程序?
How is this possible? What APIs are used to auto-launch an app after a boot?
推荐答案
它内置于多任务处理中。重启后,Backgrounded应用程序仍处于后台运行状态。据推测,应用程序做了一些工作来重新实例化,并在Core Location第一次在后台点击它时再次恢复状态,但这里没有其他魔法发生。任何具有背景意识的应用程序都可以在后台状态下重启。
It's built into multi-tasking. "Backgrounded" apps are still in background after a reboot. Presumably the app does some work to re-instantiate itself and get its state going again the first time Core Location hits it in the background, but there's no other magic happening here. Any background-aware app will survive a reboot in a backgrounded state.
这篇关于iPhone应用程序可以在设备启动后自动启动?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文