Use @2x retina images for ipad in universal app? and does apple prefer native apps?

后端 未结 4 800
梦如初夏
梦如初夏 2020-12-23 15:27

I know there were some discussions about this but i could not find good answer?

My questions are -

  1. I know that -

      [UIImage imageNam         
    
    
            
4条回答
  •  礼貌的吻别
    2020-12-23 16:04

    If you're loading an image named "image" the search paths are likely to be the same as they've always been:

    iPhone:

    • 1) image@2x~iphone.png (retina only)
    • 2) image@2x.png (retina only)
    • 3) image~iphone.png
    • 4) image.png

    iPad:

    • 1) image@2x~ipad.png (retina only)
    • 2) image@2x.png (retina only)
    • 3) image~ipad.png
    • 4) image.png

提交回复
热议问题