Can any one tell me code of auto including @2x images if device is switched to iphone 4.
I have searched very far on it, but nothing fruitful is found yet.
I have already included @2x images in my resource file. I want code to write so that images resize and reposition them selves when application is running on iphone 4.
Just include the @2x with the normal image in your project, the os will get the @2x if needed.
When you refer to an image always refer to the non-@2x image and iOS will get the @2x image on iphone 4 (or ipod) if you take it in your project and add to the target of course.