简体   繁体   中英

iPhone 6 shows a distorted launch screen

I have a Xamarin app, created with VS 2017 with the latest Xamarin version for VS 2017.

On all iPhones younger than iPhone 6, the launchscreen is correct. ONLY on iPhone 6, the app starts with its splash screen distorted to an oval shape. The resolution was at first 640*1136 but it seems, the iPhone6 scales it to 640 x 960. So I changed the resolution to 640 x 960 px. Still the oval.

What is the correct resolution?

The correct resolution of IPhone 6 is 750 x 1334 , you can check the resolution of different device here .

If you use image.xcassets via Visual Studio, just put the image with correct size into the corresponding image set, there is size above each image like 320*48, 640* 960... here is the screenshot:

在此处输入图像描述

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