My client said to me that i have to use different images for iPhone 4 (retina display) and different for other older versions
How to do this can anyone help ?
My client said to me that i have to use different images for iPhone 4 (retina display) and different for other older versions
How to do this can anyone help ?
On iOS, you can have two pictures for the same place.
myPicture.png // normal size
myPicture@2x.png // double size
The device will automatically switch to the correct picture based on the screen resolution.
If you should use totally different picture, you can detect device by this way Detect Retina Display
Basically you will have 2 sets of images. File1.png and File1@2x.png. Rest is taken care by the os depending on the device.
See Specifying High-Resolution Images in iOS for a complete description of how to do this. In a nutshell, you provide the usual images, and then high resolution versions with the same name plus "@2x".