Universal application iPad/iPhone image naming convention?

前端 未结 5 1779
有刺的猬
有刺的猬 2021-02-07 12:59

In my application I need to get the correct image based on the device iPad/iPhone 4/iPhone 3 device.

For example:

I have an image named a.png (widt

5条回答
  •  一整个雨季
    2021-02-07 13:44

    I know it is old post, but I think Screenshot gives more clear idea about naming convention.

    enter image description here

    With latest devices: button@3x~iphone.png and button@3x~ipad.png

提交回复
热议问题