简体   繁体   中英

Screen resolution iOS Devices and graphics

Heyho,

Each iOS device has a different screen resolution and pixel density.

Why do I need to support non-retina and retina graphics only and dont make graphics for each different screensize (eg 4 graphics each for a iPad App)? How does Xcode adjusts graphics to these screens? iPad屏幕

EDIT

Our designer says she has to make 4 graphics for each device (due to density and screensizes) and I need to explain to here, why a retina and a non-retina graphic are enough.

All iPad devices have a screen dimension of 1024x768 points (not pixels).

Retina devices have a scaling factor of 2, so you will need to create two sets of graphics, one for non-retina and one for retina; the difference being that the retina images are twice the size in each dimension (ie 4 times bigger overall).

So you don't need to worry about each iPad model; simply that it's retina or not.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM