IOS3兼容应用程序在IOS4 Mutlitasking中 [英] IOS3 Compatible App in IOS4 Mutlitasking

查看:250
本文介绍了IOS3兼容应用程序在IOS4 Mutlitasking中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

以下是 iPhone应用提交问题



如果我有一个兼容IOS3的应用程序,它在IOS4中如何处理多任务处理?即当IOS3应用程序在IOS4手机上关闭而不是重新打开时,它会重新启动,还是后台/多任务处理,重新加载到用户所在的位置?



<有没有人有关于我应该怎么做的建议?我需要将当前的IOS4兼容应用程序转换回来,以便它与IOS3快速兼容。



谢谢

解决方案

如果使用4.x SDK编译应用程序但部署目标为3.x,那么在iOS 4.0下运行时,suspend(applicationDidEnterBackground)有时会恢复(applicationWillEnterForeground :)将根据用户或系统在此期间所做的事情来调用;在iPhone OS 3.x下,将终止(applicationWillTerminate)并终止您的应用程序。



请参阅 iOS应用编程指南了解更多详情。


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中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆