Why does iPhone 6 use @2x image assets?

泄露秘密 提交于 2019-12-02 17:34:27
João Nunes

iPhone 6 uses @2x image assets and not R4 or something else because apple didn't provide suitable APIs for background images!

The most direct way now is to create 2 assets and programatically load them :(

Check this out: How to specify size for iPhone 6/7 customised edge-to-edge image?

iPhone 6 (not plus) has the same DPI as iPhone 4 - 5s, i.e. 326 dpi. So, 2x images still actual.

Bhumit Mehta

Marat AL is correct reffer to this thread To add to his answer

iPhone 6 might have different resolution but has same density of per pixel inch (PPI)

  • Resolution concerns an absolute number of pixels.
  • Density (aka Pixels per inch - PPI) concerns a relative number of pixels per inch which is same in case of iPhone 6 and previous iPhones , but different in iPhone 6 plus.

Check more about this here in this thread

Hence iPhone 6 uses @2x image same as iPhones 4 , 5 and 5S.

This post will definitely clear all your confusion regarding iPhone 6 resolution

Edit

This post will helped me to understand better about pixelling and scaling iPhone 6 and 6 plus

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!