What should image sizes be at @1x, @2x and @3x in Xcode?

后端 未结 5 830
轮回少年
轮回少年 2020-11-29 17:47

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 o

5条回答
  •  情歌与酒
    2020-11-29 18:45

    Yes, you are right. But if you are using Assets you can do it all in one image with three slots for it

提交回复
热议问题