Fa Hu
Fa Hu

Reputation: 15

Image resolution for iPhone 6/6s and 5/5s

I have images:

  1. 320x160 - image.png (for Iphone 5/5s)
  2. 325x190 - [email protected] (for Iphone 6/6s)
  3. 415x200 - [email protected] 9for iphone 6 plus)

I added image in mainstoryboard. but The simulator is to show the [email protected] file at iphone 5/5s and iphone 6/6s too. how to make that image.png to show at only iphone 5/5s . I hope could explain the problem

Upvotes: 0

Views: 75

Answers (1)

1x images are only used by non-retina devices. So it's totally normal if 2x images are being used by iPhone 4 and later models.

Only iPhone 2G, 3G and 3GS were non-retina.

You can check device resolutions from here: http://www.paintcodeapp.com/news/ultimate-guide-to-iphone-resolutions

And you also got image resolutions wrong. It should look like this:

 a x b  (image.png)
2a x 2b ([email protected])
3a x 3b ([email protected])

Upvotes: 1

Related Questions