简体   繁体   English

为iPhone OS 3.0而不是3.2进行开发有意义吗?

[英]Does it make any sense to develop for iPhone OS 3.0 instead of 3.2?

When it comes to backwards-compatibility, I want to stick to iPhone OS 3.0 so also some of the poor iPod Touch users who aren't rich enough for iPhones use my apps. 当涉及向后兼容性时,我想坚持使用iPhone OS 3.0,所以一些穷人的iPod Touch用户(他们的收入不足以供iPhone使用)也使用我的应用程序。 But iPhone OS 3.2 has some pretty cool features that would be nice to have. 但是iPhone OS 3.2具有一些非常酷的功能,这些功能很不错。

Problematic thing: Since it's just a minor upgrade, I can imagine most iPod Touch users who decided to upgrade to 3.0 probably never upgraded to 3.2. 有问题的事情:由于这只是次要升级,所以我可以想象大多数决定升级到3.0的iPod Touch用户可能从未升级到3.2。 I'm not sure if Apple actually asked them to pay like 10 bucks for going from 3.0 to 3.2. 我不确定苹果是否真的要求他们为从3.0到3.2支付10美元。 However, if Apple did ask them for money, I'm sure like 90% of all iPod Touch users didn't upgrade. 但是,如果苹果确实向他们要钱,我肯定90%的iPod Touch用户都没有升级。

So the big question is: IF you decide to go with iPhone OS 3.0, is it a stupid idea to stick to 3.2 just because of a few more features? 因此,最大的问题是:如果您决定使用iPhone OS 3.0,那么仅仅因为一些新功能而坚持使用3.2是一个愚蠢的主意吗? Will this effectively kill half of your iPod Touch userbase? 这样可以有效地杀死您一半的iPod Touch用户群吗?

3.2 isn't out yet (for people without the SDK) but the 3.1 upgrade for iPod Touch owners who paid for 3.0 is free, so it seems reasonable 3.2 will be free for them as well. 3.2尚未推出(对于没有SDK的用户),但为3.0付费的iPod Touch拥有者3.1升级是免费的,因此3.2似乎也对他们免费。

3.2 is what runs on the iPad currently. 当前在iPad上运行3.2。

you can provide backwards compatibility by setting the "iPhone OS Deployment Target" property in the build settings to the minimal version that you like to support 您可以通过将构建设置中的“ iPhone OS部署目标”属性设置为您想要支持的最低版本来提供向后兼容性

keep in mind that you have to check the version at places in the source code where you like to use the new features and provide alternatives for older os versions 请记住,您必须在源代码中您希望使用新功能的位置检查版本,并为较旧的os版本提供替代方法

3.2 is only for iPad. 3.2仅适用于iPad。 iPod Touches and iPhones will jump strait to 4.0. iPod Touch和iPhone将跃升为4.0。

It's more a question of whether you need the features in 3.2 or want to target the iPad. 这是您是否需要3.2中的功能还是要针对iPad的问题。 If not then target 3.0/3.1. 如果不是,则以3.0 / 3.1为目标。

You'd be surprised how many are still on the 2.x OS 您会惊讶于2.x操作系统上还有多少

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

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