For example, I have a 100*100 size imageview or button,and I want to set its image or backgroundImage with a local png file. Based on my understanding, I need to create 3 sets of images, i.e. 100*100 for @1x, 200*200 for @2x, 300*300 for @3x. I am not sure if my understanding is correct or not, can anyone help?
Asked
Active
Viewed 387 times
1
-
2Yep, you are correct – Jakub Vano May 19 '15 at 10:20
-
the multiplier is a multiplier... – holex May 19 '15 at 10:28
-
http://stackoverflow.com/questions/25781422/image-resolution-for-new-iphone-6-and-6-3x-support-added – Mitul Marsoniya May 19 '15 at 13:42
-
http://stackoverflow.com/questions/30049544/what-should-image-sizes-be-at-1x-2x-and-3x-in-xcode – MAhipal Singh Feb 09 '17 at 15:13
1 Answers
2
Yes, 3x is 300*300 in your case...
This link shows icon sizes for all.

Vivek Molkar
- 3,910
- 1
- 34
- 46

Satish
- 1,012
- 2
- 15
- 32