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.
我希望资产目录中的精灵仅适用于 iPad 和 iPad mini 非视网膜设备。有没有办法做到这一点?可以指定图像适用于 iPad,但如何将其标记为仅适用于非视网膜的 iPad?
选择Assets-> 点击+(左下角) -> 新图像集 -> 选择新添加的图像集 -> 选择Attribute inspector-> check the check box beside ipad。
Assets
+
Attribute inspector
check the check box beside ipad
它将为您的 ipad(1x 和 2x)添加图像集。在其上添加您的 1x 和 2x 图像。here 2x image is for retina display in ipad.
here 2x image is for retina display in ipad