将 iPhone 应用程序发布到 App Store 时,应设置的最低部署目标是什么?
大家好,我是 iPhone 应用程序开发新手。目前我向App store发布了一个小应用程序,部署版本为4.3。但由于版本兼容性问题,部分用户无法下载安装该应用。我在互联网上搜索但没有得到太多解决方案。现在,我应该在部署时设置什么版本,以便每个用户都可以使用该应用程序?
Hi I am new to the iPhone App development. Currently I released a small application to App store having deployment version 4.3. But some users are not able to download and install the app due to version compatibility. I searched on internet but I didn't get much solution. Now what version should I set while deployment so that every user can use the application?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
您应该根据您在应用程序中使用的API方法设置最低部署版本,即如果您使用iOS 5 SDK中的方法并且不使您的应用程序向后兼容(支持旧版本的iOS),您应该设置最小部署版本到 iOS 5。您如何关心没有安装较新 iOS 的用户是另一个问题。
You should set your minimum deployment version according to API methods you use in your app, i.e. if you use methods from iOS 5 SDK and don't make your app backwards compatible (with support for older versions of iOS), you should set min deployment version to iOS 5. How would you care about users who don't have newer iOS installed is another question.
部署目标是应用程序支持的最低 iOS 版本。这意味着iTunes商店将允许用户在其设备上下载具有相同或更高iOS版本的该应用程序。
为了实现这一目标,开发人员在使用 API 时应小心。 API版本不应高于部署目标iOS版本。如果您需要使用更高的API,您应该使用
[UIDevice currentDevice].systemVersion来检查目标设备版本。
Deployment target is the minimum version of iOS that is going to be supported by the application. It means iTunes store will allow the users downloading this application having same or higher iOS version on their devices.
To achieve it developer should take care while using the APIs. The API version should not be higher than deployment target iOS version. If you need to use higher API, you should use
[UIDevice currentDevice].systemVersion to check the target device version.
您应该将部署目标设置为您实际测试该版本应用程序的最低操作系统设备的部署目标。许多开发者保留或借用旧的未升级的 iOS 设备就是为了这个目的。否则你的客户就会成为你的阿尔法测试员。
You should set the Deployment target to that of the lowest OS device upon which you have actually tested that version of your app. Many developers keep or borrow an old non-upgraded iOS device just for that purpose. Otherwise your customers become your alpha testers.
如果您的代码支持,请选择 3.0,
也许需要更改代码。
go for 3.0 if your code supports that,
maybe that code changes are needed.