不同iOS操作系统上的iOS兼容性 [英] iOS Compatibility on different iOS Operation Systems

查看:136
本文介绍了不同iOS操作系统上的iOS兼容性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想问一下不同的iOS操作系统的兼容性在iOS中如何工作.例如,如果我在Xcode 9.2Swift 4上为iOS 11开发了一个应用程序,那么它是否可以在iOS 9上运行?

I wanted to ask how compatibility on different iOS operation systems works in iOS. For example If I develop an app on Xcode 9.2 and Swift 4 for iOS 11, should it work on iOS 9?

我来自Android背景,您指定了在Gradle文件中运行该应用所需的最低Android操作系统. iOS上是否存在类似的东西?

I am coming from Android background which you specify the minimum Android OS that is needed for the app to run in the Gradle file. Does anything similar exist on iOS?

推荐答案

非常简单的解决方案:

在构建目标的常规设置中将部署目标设置为9.0. iOS将自9.0起自动处理对构建(您的应用)的支持.

Set deployment target as 9.0 in your build target general settings. iOS will automatically handle support from 9.0 onwards for a build (your app).

您的应用程序/内部版本将仅允许使用/导入与最小部署目标兼容的框架和其他库.

Your app/build will be allowed to use/import frameworks and other libraries, compatible to minimum deployment target, only.

有关Apple的应用部署目标的详细信息.

More detail about App Deployment Target from Apple.

这篇关于不同iOS操作系统上的iOS兼容性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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