哪款iPhone“Active SDK”我应该使用哪个版本? [英] Which iPhone "Active SDK" version should I use?

查看:99
本文介绍了哪款iPhone“Active SDK”我应该使用哪个版本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

目前(截至2008年12月)iPhone SDK允许我在构建应用程序时选择3个版本:2.0,2.1,2.2。 - 我将忽略下面的2.1。

The current (as of Dec 2008) iPhone SDK allows me to pick between 3 versions when I want to build an app: 2.0, 2.1, 2.2. -- I'll ignore 2.1 below.

我的假设:


  • 2.2有更多的API函数可用于2.0,

  • 2.2修复了自2.0以来的错误,

  • 2.2向后兼容2.0(用于构建和运行) ),

  • 如果我使用SDK 2.0构建,我的应用程序将在iPhone 2.2上运行,

  • 如果我使用SDK 2.2构建,我的应用程序赢了适用于iPhone 2.0。

  • 2.2 has more API functions available than 2.0,
  • 2.2 has fixed bugs since 2.0,
  • 2.2 is backward-compatible with 2.0 (both for building and running),
  • If I build with SDK 2.0, my app will work on iPhone 2.2,
  • If I build with SDK 2.2, my app won't work on iPhone 2.0.

我认为使用可以构建应用程序的最早版本是最好的,这样它会在运行较旧操作系统的iPhone上运行。

I would think that using the earliest version that can build the app would be best, this way it will run on iPhones running older OSes.

但是,如果我用2.0构建它,我的应用程序是否会丢失一些风险?也许一些速度或更好的UI元素。但也许在2.0和2.2之间没有太大的区别甚至担心它?

But is there a risk that my app would be missing something if I built it with 2.0? Maybe some speed or nicer UI elements. But maybe there's not that much difference between 2.0 and 2.2 to even worry about it?

所以我的问题是:我应该选择哪种SDK?

So my question is: Which SDK should I select?


  1. 我可以构建的earlist SDK,以扩大我的目标市场。

  2. 总是最新的SDK,以便我的应用程序受益来自改进 - 以可能减少我的市场为代价。

(如果答案很明显,为什么我有一个选择?!)

(And if the answer is obvious, why do I have a choice?!)

推荐答案

我选择#1选项 - 将其编译为2.0。这就是我们为我们的应用所做的事情。仍然有很多人在运行旧的2.0 O / S,如果你编译为2.2你的应用程序将无法在他们的设备上运行。

I'd pick option #1 - compile it to 2.0. This is what we do for our app. There are still a lot of people running the old 2.0 O/S and if you compile to 2.2 your app won't run on their device.

那说,如果你开发你的应用程序并遇到一个错误,并发现它已在以后的固件版本中得到修复,除非有解决方法,否则你可能没有太多选择。每个新版本都添加了新功能,但我不知道这些功能的完整列表(在API级别)。

That said, if you develop your app and run into a bug and find out that it's been fixed in a later firmware version, you may not have much of an option unless there's a workaround. There are also new features added to each new version although I do not know of a comprehensive list of what those features are (at an API level).

这篇关于哪款iPhone“Active SDK”我应该使用哪个版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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