Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
设计团队提供一个文件夹,其中包含项目所需的所有图像。
我为图标和启动文件以及一些需要切片的图像等创建了 xcasset
我注意到 xcassets 中的所有图像都在 xcassets 文件夹中重复。
我的问题:
感谢您的信息
xcassets 的目的是将所有项目资产整合到一个漂亮的包中。对于大型项目,我倾向于拆分为多个 xcasset。将所有内容弹出到 xcassets 后,您可以从项目中删除其他资产实例。
在编译时,只会复制在“添加到目标”字段中选择的文件。
只需将所有文件粘贴到 xcassets 中,不要将它们添加到其他任何地方。
是的,当然有一种工具可以解决您的问题
AVXCassets 生成器
希望你会喜欢