Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
240 views
in Technique[技术] by (71.8m points)

Is Xcode 5 Asset Catalog backwards compatible with pre-iOS 7?

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.

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.

Thank you for answers

question from:https://stackoverflow.com/questions/19031406/is-xcode-5-asset-catalog-backwards-compatible-with-pre-ios-7

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

Yes, it is backwards compatible.

The documentation says:

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

  • For all projects, individual images can be loaded using set names.
  • For projects with a deployment target of iOS 7, Xcode compiles your asset catalogs into a runtime binary file format that reduces the download time for your app.

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...