Xcode 5 Asset Catalog是否向后兼容iOS 7之前的版本? [英] Is Xcode 5 Asset Catalog backwards compatible with pre-iOS 7?

查看:89
本文介绍了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之前的版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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