Reputation: 443
Now I am making a Game with spritekit(swift) in Xcode 6.
It has to be playable for iPhone 4s and higher. But as far as I know are all iphones from 4s and higher Retina so I can add all images with (750 x 1334 pix) and with @2x.png.
So I do not need to add images without @2x..
Am I correct?
Upvotes: 0
Views: 856
Reputation: 236275
Example: If you have a 512 x 512 (1x) image and you want it to support (2x and 3x) you have to include those 2 files like this:
yourImage.png // (512x512 at 1x)
[email protected] // (1024x1024 at 2x)
[email protected] // (1536x1536 at 3x)
Upvotes: 2
Reputation: 70703
"iOS Human Interface Guidelines: Icon and Image Sizes" lists asset sizes for the current devices, which includes the 4s. The only current devices with @1x displays are iPads.
Unless you know that iPads won't run your app (which I don't think you can do, as they can run all apps in stretch mode) you will want to include @1x sizes.
In any event, you will probably want to include a @1x icon, as the app store is (I think) still visible to people on older devices, and your app may be rejected without it.
Also, don't forget @3x if you want to support the iPhone 6 Plus.
Upvotes: 1