Using iPhone retina image as iPad non-retina image, without duplication

if I have a universal app with 4 images as below

  • iPhoneimage.png (50x50)
  • iPhoneimage@2x.png (100x100)
  • iPadimage.png (100x100)
  • iPadimage@2x.png (200x200)

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.


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..

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

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.

Need Your Help

Print out HTTPHeaders to log file on ASMX / WCF Calls using config settings

.net web-services http-headers tracing

I have some web services already running on a few environments, and some developers are needing to get the raw HTTPHeaders that are being sent to these web services. These services are set up using

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.