我应该使用哪个版本的iOS SDK? [英] Which version of the iOS SDK should I use?

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

问题描述

请告诉我应该使用哪个版本的iOS SDK,以便我的应用程序可以在iPhone 3.0或更高版本上使用.

Please tell me which version of the iOS SDK i should use so that my app works on iPhone 3.0 or later.

推荐答案

您应注意两个不同的概念:

There are two different concepts you should be aware of:

基本SDK

这就是您用来构建应用程序的方式.最新版本是4.2,因此您应该使用它来构建您的应用程序.

This is what you use to build your application. The most recent release is 4.2 so you should use that to build your applications against.

iOS部署目标

这是您要构建的iOS的目标版本.您可以将它(在Xcode的项目"或目标"设置中)设置为"iOS 3.0".

This is the target version of iOS you are building for. In your case, you set that (in Project or Target settings of Xcode) to "iOS 3.0".

其余一切取决于您.当然,您正在构建许多版本的SDK,因此,如果您使用3.0之后的 any SDK中引入的功能,则需要明确测试该功能.

The rest is up to you. You are, of course, building for many versions of the SDK, so if you use something that was introduced in any SDK after 3.0, you need to test for that functionality explicitly.

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

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