简体   繁体   English

在iOS中选择部署目标

[英]Selecting Deployment target in iOS

I have an iOS application that I would like to put in the AppStore. 我有一个iOS应用程序,我想放在AppStore中。 I am however lost in the aspect of development target. 然而,我在发展目标方面迷失了方向。 I do not know if I have to set the deployment target as 11.0 or 10.0. 我不知道是否必须将部署目标设置为11.0或10.0。 Most of the code works good with 10.x. 大多数代码适用于10.x. I would like to know if it's a good practise to set the deployment target to lower version. 我想知道将部署目标设置为较低版本是否是一个好习惯。

You can set it based on your choice, if you would like to cover all the users using iOS devices then you can set deployment target to 10.x OR as per the latest analytical data from the Apple, there are only 7% devices using iOS 10.x or lower, so you can ignore them too and can set deployment target to 11.x and above. 您可以根据您的选择进行设置,如果您想覆盖使用iOS设备的所有用户,那么您可以根据Apple的最新分析数据将部署目标设置为10.x OR,只有7%的设备使用iOS 10.x或更低,因此您也可以忽略它们,并可以将部署目标设置为11.x及更高版本。

Refer here: Analytics of iOS Users 请参阅此处: iOS用户分析

Its good to use one version less than the one currently in Market. 使用一个版本比目前市场上的版本更好。 Of course if you have larger audience using you app and having lower version of iOS on their iPhones, you can choose much lower version as deployment target. 当然,如果你有更多的观众使用你的应用程序并在他们的iPhone上使用较低版本的iOS,你可以选择低得多的版本作为部署目标。

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

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