问题描述
以下是
如果我有一个兼容IOS3的应用程序,它在IOS4中如何处理多任务处理?即当IOS3应用程序在IOS4手机上关闭而不是重新打开时,它会重新启动,还是后台/多任务处理,重新加载到用户所在的位置?
谢谢
如果使用4.x SDK编译应用程序但部署目标为3.x,那么在iOS 4.0下运行时,suspend(applicationDidEnterBackground)有时会恢复(applicationWillEnterForeground :)将根据用户或系统在此期间所做的事情来调用;在iPhone OS 3.x下,将终止(applicationWillTerminate)并终止您的应用程序。
请参阅了解更多详情。
This is a follow on from IPhone App Submission Issues
If I have a IOS3 compatible app, how does it handle in IOS4 in regards to Multitasking? i.e. When the IOS3 app is closed on an IOS4 phone and than they reopen it, will it restart or is it backgrounded/multitasked and when reloaded taken to where the user just was?
Does anyone have advice on how i should go about this? I need to convert my current IOS4 compatible app back so that it is compatible with IOS3 quickly.
Thanks
If you compile an app using the 4.x SDK but with a deployment target of 3.x, then when running under iOS 4.0, suspend (applicationDidEnterBackground) and sometimes resume (applicationWillEnterForeground:) will be called, depending on what the user or the system did in the meantime; and under iPhone OS 3.x, terminate (applicationWillTerminate ) will be called and your app will be terminated.
See the iOS App Programming Guide for more details.
这篇关于IOS3兼容应用程序在IOS4 Mutlitasking中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!