换句话说,运行时是否知道这个应用程序是使用较低的基础SDK编译的,并且在UIKit的代码中的某处:
if (lower SDK) { //show old look/feel} else { //show new look/feel}
或者应用程序本身是否包含旧库并加载它?
谢谢
解决方法 iOS应用程序与新版iOS正向兼容.原因是 :Almost all changes to the iOS versions are additive and hence an
application build using lower version still runs on the higher iOS
version.
但是,我们需要注意这一点:
As frameworks evolve through varIoUs releases,APIs are introduced or
deprecated and behaviors of existing APIs may occasionally change.
Apple makes every effort to minimize changes that may cause
incompatibilitIEs,in some cases provIDing alternate behaviors based
on the framework version. In rare cases,your code needs to determine
the framework version and adjust accordingly
要了解更多信息,请阅读this
总结以上是内存溢出为你收集整理的ios – 具有较低基础sdk的应用程序如何工作?全部内容,希望文章能够帮你解决ios – 具有较低基础sdk的应用程序如何工作?所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)