IOS3 Compatible App in IOS4 Mutlitasking

眉间皱痕 提交于 2019-12-01 09:16:54

问题


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


回答1:


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.



来源:https://stackoverflow.com/questions/3654900/ios3-compatible-app-in-ios4-mutlitasking

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!