Search code examples
ipadios7xcode5retina-display

iPad launch images in Xcode 5 accept just retina or non retina but not both


I am setting all the new launch images needed in the new Xcode, but I'm having a very strange problem... when I put the Portrait Non-Retina (768x1024) image there are no problems... but then when I go to put the Portrait Retina (1536x2048) image, this last one appears with no problems but the Non-Retina one disappears and it appears an error saying: no image with correct dimensions found.... and the same thing happens also for the two landscape images... I'm adding 2 images so you better understand the problem....

Here I have the 2 Non-Retina setted

enter image description here

and when I set the 2 Retina the Non-Retina disappears...

enter image description here

anyone is facing the same problem? is there a solution to that? Thanks for any help. Massy


Solution

  • I struggled with this also, but I've found this is solved when you have a non-retina image named image.png and its retina counterpart is named [email protected]. So to fix yours you'll need to name the first "Default-Portrait-1024~ipad" and the second "Default-Portrait-1024@2x~ipad". The part preceding the "@2x~ipad" needs to be the same for it to recognize them both. It's dumb and can make the naming confusing, but that's how it works for now. I'm not sure if this functionality is intentional, since it doesn't seem to work this way for any of the icon images...

    Hope this helps!