为IOS 9.3和10.0构建应用程序 [英] Build app for IOS 9.3 and 10.0

查看:86
本文介绍了为IOS 9.3和10.0构建应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是iOS应用开发的新手.我快速浏览了一下,但找不到答案,但是如果有重复,请提前对不起.

I'm fairly new to iOS app development. I have had a quick look but can't find an answer but sorry in advance if this is a duplicate.

我有一个使用9.3 SDK在Swift 2.3中开发的iOS应用,但我也希望它能在10.0上运行.我已将Base SDK设置为9.3,但不确定是否需要做任何工作才能在10上运行,我将如何获得对10.0功能的访问权限?

I have an iOS app developed in Swift 2.3 using the 9.3 SDK but I also want it to work on 10.0. I have set the Base SDK as 9.3 but not sure if there is anything I have to do for it to work on 10, and how would I gain access to the 10.0 features?

推荐答案

使用当前iOS版本中可用的新功能将Base SDK设置为最新的OS.将部署目标"设置为要在其上部署应用的最旧的iOS版本.

Set the Base SDK to the latest OS use new features available in the current iOS release. Set the Deployment Target to the oldest iOS version on which you want your app to deploy.

请确保在运行Deployment Target iOS版本的实际iOS设备上进行测试,以检查是否使用任何较新的API,而不先检查它们在运行该iOS版本的设备上的可用性.这个目的.

Make sure to test on an actual iOS device running the Deployment Target iOS version to check whether you use any newer APIs without first checking for their availability on a device running that iOS version, The iOS Simulator is not reliable as a test for this purpose.

这篇关于为IOS 9.3和10.0构建应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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