简体   繁体   English

如何在我的应用中决定支持最旧的iOS版本?

[英]How can I decide the oldest iOS version to support in my app?

How can I decide the oldest iOS version to support in my app? 如何在我的应用中决定支持最旧的iOS版本?

Are there any kind of usage / installation statistics to make this decision easier? 是否有任何类型的使用/安装统计信息可以使此决策更容易?

Not officially, but a few of the big developers release statistics on their blogs. 不是正式的,但一些大型开发者在他们的博客上发布统计数据。 Instapaper is a good example. Instapaper就是一个很好的例子。 I'm sure there are more if you google around, but for me, its once a version hits 5% or less users, its ok to scrap support for it. 我相信如果你谷歌周围有更多,但对我来说,一旦一个版本达到5%或更少的用户,它可以取消它的支持。 (I recently stopped supporting iOS 3.x). (我最近停止支持iOS 3.x)。

You could also check in your app and send it to a server or something to log and check your own statistics. 您还可以签入您的应用程序并将其发送到服务器或其他东西进行记录并检查您自己的统计信息。

A tip from the other perspective. 从另一个角度来看。 A lot of new features were introduced in iOS 3.2, even a lot of stuff that's not whiz-bang, but you might want to make use of, like gesture recognizers. iOS 3.2中引入了许多新功能,甚至很多东西都不是什么东西,但你可能想要使用,比如手势识别器。 You're probably likely to accidentally use a few minor features that didn't exist prior to 3.2 when coding, and then when you test on an old device you'll discover you need to rewrite that code. 在编码时,您可能会偶然使用3.2之前不存在的一些次要功能,然后当您在旧设备上进行测试时,您会发现需要重写该代码。 So I would say target at least 3.2. 所以我会说目标至少为3.2。

Some developers are constrained by the oldest OS for which they want to keep a running and non-updated iOS test device. 一些开发人员受到最古老的操作系统的限制,他们希望保留一个正在运行且未更新的iOS测试设备。 You should not set the Deployment target lower than the lowest OS on which you plan on doing actual device testing. 您不应将Deployment目标设置为低于您计划进行实际设备测试的最低OS。

Note that you should not use raw OS user base statistics, as users of devices running older OS versions seem to be far less likely to buy or download new apps than those users who buy new devices and/or update to the latest iOS version. 请注意,您不应使用原始操作系统用户群统计信息,因为运行较旧操作系统版本的设备的用户购买或下载新应用程序的可能性远远低于购买新设备和/或更新到最新iOS版本的用户。

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

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