要利用 iOS 9 附带的应用瘦身功能,我们必须在项目中使用 xcassets 目录。不过,文件也说:
Xcode 6 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 at least iOS 7 or OS X 10.9, Xcode compiles your asset catalogs into a runtime binary file format that reduces the download time for your app.
如果部署目标设置为 iOS 7, Assets 目录将被编译为 .car 文件,而对于 iOS 6 目标,图像将被简单地复制到应用程序包中。
所以问题是:
提前致谢!
好的,经过几次测试,我得到了答案。
关于ios - 部署目标设置为 iOS 6 的应用程序精简,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33141460/
欢迎光临 OStack程序员社区-中国程序员成长平台 (https://ostack.cn/) | Powered by Discuz! X3.4 |