1
votes

if I have a universal app with 4 images as below

They are all the same image, just different sizes. As you can see the iPhone retina image is the same size as the iPad non-retina image.

Is there a way to use the iPhone retina image as the iPad non-retina image without duplicating the file itself and renaming it? Just seems a bit of a waste of memory, especially if it occurs often in the application.

3

3 Answers

4
votes

I am doing the same thing in an application of my own. I found that naming the images image.png, [email protected], and image@[email protected] worked quite well.

1
votes

You can just name it iPhoneimage.png and set the size to 200x200, but you need to manage the image scaling accordingly.

But note that you'll gain some SSD memory and maybe you can stay below the 50MB limit for 3G App Store download, but you'll consume much more ram memory.

0
votes

i did not try but it got thumbs up 13 times so should be right .. :)

iphone&ipad retina image processes

hope this helps to you..