I just created a test application and tested.
So, for devices without a retina:
ImageName.png - for iPhone / iPod
ImageName~ipad.png - for iPad
For devices with a retina display:
ImageName@2x.png - for iPhone / iPod
ImageName@2x~ipad.png - for iPad
And you can still use @ 2x if your iPhone's high-resolution image and iPad's high-resolution image are the same size.
To upload an image, just use [UIImage imageNamed:@"ImageName.png"];
I just tested it on an iOS simulator for iOS 5.1, 5.0 and 4.3.
By the way, why should you use @ 2x and nothing else.
The main thing is because you should not use the same graphics on iPhone and iPad, because iPhone and iPad are of different sizes. And if you use the same size, graphics will already be made for your iPad retina display (if you've previously used the iPhone retina display). If you have images of different sizes, you will use different image names for the iPhone and iPad. So on this side, you just need to add the @ 2x suffix. This is why you should only use the @ 2x suffix. - these are my thoughts.
rowwingman Mar 08 2018-12-12T00: 00Z
source share