简体   繁体   中英

iPhone 5, iPhone 6 image sizes

Now that there are many different screen sizes, what images should I supply to get optimal results. Eg from my understanding, both the iPhone 5 and 6 use @2x images. Does that mean that images are scaled up for the iPhone 6? Or are the images scaled down for the iPhone 5. What images should I supply. I can't seem to do it properly with Images.xcassets in Xcode 6.

Our UI Designer used to create Vector Images with iPhone 5 resolution means 1136*640 ,they create 1334*750 iPhone 6 resolution images & down scale it to iPhone 5 resolution . So we used to add iPhone 5 images only in @2x , then Xcode scales @2x images on iPhone 6 so it will not look bad as designer has created iPhone 6 resolution supported image & down scaled to iPhone 5 .

iPhone 6 plus uses @3x, iPhone 5 @2x, so you need to be supplying at least @3x images if your supporting iPhone 6 plus. Images will be scaled down if you just provide @3x, on older devices this uses device resources/processing power so supplying @1x @2x for older devices (if your supporting them) will enhance user experience

More information on this subject can be found here: Image resolution for new iPhone 6 and 6+, @3x support added?

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