-1

我在IOS中开发了一个应用程序。它独立工作正常。但我想知道它如何受到设备中其他进程的影响。例如;应用在前台时是否收到短信或来电。然后我们可能不得不暂停应用程序等等。我想知道可能影响应用程序的所有其他因素以及我需要如何处理这些因素以保留应用程序数据。如果我能得到这些外部因素的清单和处理它们的程序,那么我的问题就会得到解决。顺便说一句,我正在使用在 IOS 中启用了 ARC 的 phonegap(cordova) 2.1.0 版。任何帮助表示赞赏。提前致谢

4

1 回答 1

1

All of the things that can interrupt your app are passed through the UIApplicationDelegate. Here is the Apple documentation about it.

http://developer.apple.com/library/ios/#DOCUMENTATION/UIKit/Reference/UIApplicationDelegate_Protocol/Reference/Reference.html#//apple_ref/occ/intf/UIApplicationDelegate

于 2012-10-03T06:06:18.007 回答