Xcode 7 视网膜 4 英寸资产? [英] Xcode 7 retina 4" assets?

查看:25
本文介绍了Xcode 7 视网膜 4 英寸资产?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以就在我虽然我的 swift 2 升级不会变得更糟的时候,似乎你不能再添加视网膜 4" 2x 图像资产了.我不能再添加任何选项了,我所有的旧资产仍然具有 4" 视网膜图像,但我无法创建具有 4" 视网膜图像的新图像集.为什么?

So just when I though my swift 2 upgrade could not get any worse its seems that you cannot add retina 4" 2x image assets anymore. I cannot fine any option anymore to add it, all my old assets still have the retina 4" image but I cannot create a new image set with a 4" retina image. Why?

有什么办法可以解决这个问题吗?

Any ways to fix this?

推荐答案

编辑Image SetContents.json并添加

{
  "idiom" : "iphone",
  "subtype" : "retina4",
  "scale" : "2x"
}

你会看到出现Retina 4 2x条目.

这篇关于Xcode 7 视网膜 4 英寸资产?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆