Universal application iPad/iPhone image naming convention?

前端 未结 5 1773
有刺的猬
有刺的猬 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:49

    I am using a "Resource Manager" that I developed first before creating any application. This Resource Manager can decide about the naming convention after loading the resource configuration files (mostly XML). This way everything is transparent to the programmer of the GUI, you only need to worry about creating the content :)

提交回复
热议问题