我可以阻止操作系统版本太旧的用户下载我的应用程序吗? [英] Can I prevent users with a too-old OS version from downloading my app?

查看:21
本文介绍了我可以阻止操作系统版本太旧的用户下载我的应用程序吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前在应用商店中有一款适用于运行 iOS 3.0 或更高版本的 iPhone 用户的应用.该应用的下一个版本将使用 ARC,因此它仅适用于运行 iOS 4.0 或更高版本的用户.

I currently have an app in the app store that works for iPhone users running iOS version 3.0 or newer. My next version of the app is going to use ARC, so it will only work for users running iOS version 4.0 or newer.

根据 这个答案,用户将能够下载较新的版本,但是当他们尝试运行它时它不会运行.

According to this answer, the users will be able to download the newer version, but it just won't run when they try to run it.

有什么办法可以防止无法运行该应用的用户甚至从 AppStore 下载它?

Is there any way to prevent users who can't run the app from even downloading it from the AppStore?

推荐答案

我最近没有测试过这个,但是在 2011 年 2 月和 iOS 4.x 中,我的用户无法下载我的应用程序,因为没有设备'没有运行所需的 iOS 版本.

I haven't tested this recently, but in February 2011, and iOS 4.x, I had users who couldn't download my app as there device wasn't running the required version of iOS.

当他们尝试将应用程序直接下载到他们的设备时,他们在他们的设备上收到了一条很好的解释消息,由 App Store 应用程序提供.

They received a nice explanation message on their device, courtesy of the App Store app, when trying to download the app directly to their device.

如果情况并非如此,我会感到非常惊讶.

I'd be very surprised if this wasn't still the case.

因此,在您的目标构建设置中设置部署目标,并让 App Store/iTunes 负责谁可以安装它.

So, set the deployment target in your target build settings, and let the App Store / iTunes take care of who can install it.

这是针对新安装的,对于更新(而不是新安装)则有所不同,但如果 Apple 没有为了更好的用户体验而处理这件事,我会感到惊讶.

That was for new installs, and it be different for updates (rather than new installs) but again I'd be surprised if this wasn't handled by Apple for the sake of a better user experience.

更新

我挖出了我的旧 iPhone 3,它在 4.2.1 到达了终点,并与 iTunes 重新同步 - 需要 4.3 等的最新应用程序被忽略,并且没有被不兼容的版本覆盖,正如我所期望的.

I dug out my old iPhone 3 which reached the end of the road at 4.2.1 and resynced it with iTunes - the latest apps that require 4.3 etc are ignored, and are not overwritten with incompatible versions, as I would expect.

我还尝试更新我自己的应用程序(我是开发人员),需要 4.3 及更高版本,从商店通过设备本身,并收到一个礼貌的弹出警告,提示该应用程序需要 iOS 4.3 及更高版本,再次正如我所料.

I also tried to update my own app (I'm a developer), requiring 4.3 and above, from the store via the device itself, and got a polite pop-up alert saying the app requires iOS 4.3 and above, again just as I'd expect.

该应用程序以前与 < 兼容.4.3,在此期间我提高了最低 iOS 版本要求,所以这绝对是可能的.

The app was previously compatible with < 4.3, and somewhere along the line I bumped up the minimum iOS version requirement, so it is definitely possible.

因此,您应该适当地设置更新应用的部署目标"版本,并且它只会在兼容设备上更新.

So, you should just set your updated app's 'deployment target' version appropriately, and it will only be updated on compatible devices.

这篇关于我可以阻止操作系统版本太旧的用户下载我的应用程序吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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