Xcode 5 Asset Catalog是否向后兼容iOS 7之前的版本?

编程入门 行业动态 更新时间:2024-10-13 12:20:26
本文介绍了Xcode 5 Asset Catalog是否向后兼容iOS 7之前的版本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

Xcode 5引入了资产目录,这看起来很酷。但我没有找到很多有关它的信息。具体来说,我感兴趣的是资产目录的使用是否对应用程序的兼容性有任何影响。

Xcode 5 introduced Asset Catalog, which seems very cool. However I haven't find much information about it. Specifically, I'm interested whether the usage of Asset Catalog has any impact on the app regarding its compatibility.

是资产目录iOS 7的特定功能(即iOS必须能够处理它)还是它只是Xcode的便利工具?

Is Asset Catalog iOS 7 specific feature (i.e. iOS has to be able to handle it) or it is just convenience tool of Xcode?

此外,我将感谢任何相关的信息资源/链接。

Also, I will be grateful for any relevant information resources / links.

感谢您的回答

推荐答案

是的,它是向后兼容的。

Yes, it is backwards compatible.

文档说: / p>

The documentation says:

Xcode 5为您的项目的部署目标根据提供不同的资产目录功能:

Xcode 5 provides different functionality for asset catalogs depending on the deployment target for your project:

  • 对于所有项目,可以使用集合名称加载单个图像。
  • 对于部署目标为iOS 7的项目,Xcode您的资产会编入运行时二进制文件格式,从而减少应用程序的下载时间。

新的二进制文件格式仅在部署目标设置为iOS 7时使用。否则,默认情况下会将所有单个图像文件放入您的资源文件夹中。

The new binary file format is only used if your deployment target is set to iOS 7. Otherwise it defaults back to simply putting all of the individual image files into your resources folder, as before.

更多推荐

Xcode 5 Asset Catalog是否向后兼容iOS 7之前的版本?

本文发布于:2023-11-13 22:51:27,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1585537.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:版本   Asset   Xcode   iOS   Catalog

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!