crashoverride777 crashoverride777 - 8 days ago 5
Swift Question

Xcode 7 retina 4" assets?

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?

Answer

Edit Contents.json of the Image Set and add

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

You will see appear Retina 4 2x entry.