IOS4 多任务中的 IOS3 兼容应用程序
这是 iPhone 应用程序提交问题的后续内容
如果我有一个 IOS3 兼容的应用程序,怎么办?它在 IOS4 中处理多任务吗?即,当 IOS3 应用程序在 IOS4 手机上关闭并且重新打开它时,它会重新启动还是处于后台/多任务状态,并且在重新加载时会带到用户刚刚所在的位置?
有人对我应该如何解决这个问题有建议吗?我需要将当前的 IOS4 兼容应用程序转换回来,以便它快速兼容 IOS3。
谢谢
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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您使用 4.x SDK 编译应用程序,但部署目标为 3.x,则在 iOS 4.0 下运行时,将调用挂起 (applicationDidEnterBackground),有时会调用恢复 (applicationWillEnterForeground:),具体取决于用户或应用程序的内容。系统同时进行;在iPhone OS 3.x下,将调用terminate (applicationWillTerminate)并且您的应用程序将被终止。
请参阅 iOS 应用程序编程指南了解更多详细信息。
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.