简体   繁体   English

iOS部署目标

[英]iOS deployment target

IF I set the deployment target for my app to iOS 4.2 when submitting to app store, will users with iOS 3.2 (or anything below 4.2) be able to download and install the app and the app won't run or will they not be able to download and install the app itself? 如果我在提交到应用商店时将我的应用的部署目标设置为iOS 4.2,那么使用iOS 3.2(或任何低于4.2)的用户将能够下载并安装该应用,并且该应用将无法运行或将无法运行下载并安装应用程序本身?

Thanks. 谢谢。

They won't be able to install and run the app (until they upgrade the OS on their device to that of the Deployment Target or above). 他们将无法安装和运行应用程序(直到他们将设备上的操作系统升级到部署目标或以上)。 But they might be able to buy and download the app using iTunes on their Mac or PC. 但他们可以在Mac或PC上使用iTunes购买和下载应用程序。

No, that's exactly what deployment version is about. 不,这正是部署版本的意义所在。

Best practice is to build against latest SDK version, with deployment version as low as possible. 最佳实践是针对最新的SDK版本构建,部署版本尽可能低。 But that requires the discipline to do runtime checks and fallback implementations whenever using a API that wasn't there yet in the deployment version. 但是,这需要规则在使用部署版本中尚未存在的API时执行运行时检查和回退实现。

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

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