【问题标题】:Xcode Asset Catalog - is there a way to mark a sprite for iPad non-retina only?Xcode 资产目录 - 有没有办法只为 iPad 非视网膜标记精灵?
【发布时间】:2016-08-09 10:22:08
【问题描述】:

我希望资产目录中的精灵仅适用于 iPad 和 iPad mini 非视网膜设备。有没有办法做到这一点?可以指定图片是针对 iPad 的,但如何将其标记为仅针对 iPad 非视网膜?

【问题讨论】:

    标签: ios xcode asset-catalog app-thinning


    【解决方案1】:

    选择Assets -> 点击+(左下角)-> 新建图像集-> 选择新添加的图像集-> 选择Attribute inspector -> check the check box beside ipad

    它将为您的 ipad(1x 和 2x)添加图像集。在其上添加您的 1x 和 2x 图像。 here 2x image is for retina display in ipad.

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多