Reputation: 1789
i am using Xcode 5 and developing a Application which will have deployment target "7.0" so do i need to add the Normal image and retina images both ... or i can just use the normal image naming convention with Double Resolution (Retina images).i mean can we avoid "@2x" from file name for all the application targeted only for the Retina devices.
For e.g.: suppose i have background image named with resolution of 640x960 so should i use "bg.png" or "[email protected]"?
FYI: i don't want to include normal resolution image because i am not targeting any non-retina devices
Any help will be Greatly appreciated , thanks in Advance!
Upvotes: 0
Views: 2057
Reputation: 6207
Using xcassets
can be very helpful in making image sets for different screen sizes. You should make new image set and select screen sizes you would like to support. See image: https://www.dropbox.com/s/x9dowakx4n8x58i/Screenshot%202014-02-26%2009.47.17.png.
There you can just drag and drop appropriate assets to 1x, 2x or R4 fields.
I believe that you should be "a good citizen" and support smaller screen sizes (like @Michaël Azevedo stated).
Upvotes: 1
Reputation: 47059
If your deployment target is only "7.0" then you does not need to add both image, just add only retina images with name "[email protected]" here "@2x" is must require because retina device only recognize image with end of "@2x".
Upvotes: 1
Reputation: 1667
You better to use normal image name as bg.png and retina image name as [email protected]. because there is updation to iOS 7.0 and above is possible for non retina devices also
Upvotes: 0
Reputation: 23271
App rejected if your app not support for iPhone 5 and 5s, 5c devices. because these device are built in retina and coming iPhone model devices are mode up with retina display.
so target to all iPhone device size
retina device automatically detected with image name @2x. so you must use @2x.png in your image name string
If you need to support standard-resolution iPhone or iPod touch devices, divide by 2 the high-resolution sizes listed below.
Upvotes: 1