Reputation: 15
I have images:
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
Reputation: 233
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