Images for retina display iphone

Neelesh picture Neelesh · May 26, 2011 · Viewed 15.1k times · Source

I have an working application which i have tested in my ipod touch. Everything works pretty fine.

My tabbar icons and splash screen images are in a separate folder in my Resources folder

Resources->images

Now, I know for iPhone4 i need to use 2x images.

My question is for support for iPhone4 all that i need to do is add 2x images in my images folder. For example if my splashscreen image is Default.png, I should add my 2x image as [email protected] in my images folder and iphone will use it automatically.?

Is it the same for all tabbar images ?

Thanks in advance

Answer

BoltClock picture BoltClock · May 26, 2011

Yes, all that you said is correct. Remember to also import the @2x images into your Xcode project (e.g. by dragging them from Finder to Xcode), so they'll be added to the bundle when you build your app.