简体   繁体   English

关于App Store更新的快速入门

[英]Quick one about Updates in App Store

I've got an app that works in ios3 (3.0 - 3.1.3), but they've deprecated some of the code in ios4. 我有一个可以在ios3(3.0-3.1.3)中运行的应用程序,但是他们不赞成ios4中的某些代码。 The problem is, if I update to the ios4 code (3.2 -) it will no longer work in the older phones. 问题是,如果我更新到ios4代码(3.2-),它将在旧手机中不再起作用。

If I release an update that is for ios4, what happens to people who have the ios3 version? 如果我发布了针对ios4的更新,那么拥有ios3版本的人会怎么办? Does it say "sorry you can't have it"? 它说“对不起,您不能拥有”? Does it let them overwrite it anyway and then hit them with a "upgrade to 4.0 now" box? 是否会让他们改写它,然后在“立即升级到4.0”框中打它们? I'm worried that they'll be offered the update, download it, overwrite the old one, and now it won't work on their old phone.* 我担心会为他们提供更新,下载,覆盖旧的更新,而现在在他们的旧手机上将无法使用。*

Thanks for the help. 谢谢您的帮助。

(*I know the upgrade to ios4 is free and all that, but I'm pretty sure my demographic is more likely to be the "I like my phone the way it is thank you very much" type, annoyed to be forced into a new operating system just for my little app.) (*我知道ios4的升级是免费的,但我敢肯定,我的受众群体很有可能是“我非常喜欢你的手机,我非常喜欢我的手机”类型,这让我很生气。适用于我的小应用程序的新操作系统。)

I think it's your job to handle os 3 and os 4 in the same app (if you want, it's no an obligation). 我认为在同一个应用程序中处理OS 3和OS 4是您的工作(如果您愿意,这不是义务)。

You can check the OS and then do things depending on it. 您可以检查操作系统,然后根据操作系统进行操作。 When you need to use a framework which only exists in OS 4, you can set a weak dependency (Target "Project Name" Info => General Tab). 当需要使用仅在OS 4中存在的框架时,可以设置弱依赖关系(目标“项目名称”信息=>常规选项卡)。

By the way, you can specify your app is only for > iOS 4.0 and then user will have to update his OS before updating your app. 顺便说一句,您可以指定您的应用仅适用于> iOS 4.0,然后用户必须先更新其操作系统,然后才能更新您的应用。 But I never had this kind of problem. 但是我从来没有遇到过这样的问题。 I think it's handled in the AppStore when user want to install or update an application. 我认为,当用户想要安装或更新应用程序时,可以在AppStore中进行处理。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM