2
我HEVE资产目录,这样如何通过文件夹IOS摆脱资产图像
- 资产
- ComponentA - 文件夹
- 背景 - 图像
- 以componentB - 文件夹
- 背景 - 图像
- ComponentA - 文件夹
如何,我可以得到图像取决于组件(文件夹)? 我喜欢使用的东西它是什么
let image = UIImage(named:"ComponentA/Background")
但这不起作用