简体   繁体   中英

Iphone 5 full screen size

I have included a launch image named: Default-568h@2x.png (640x1136) in the bundle. But the iPhone 5 still has that two vertical black bar on both right and left side in landscape mode. If I removed all launch images from the Images.xcassets then it shows up with full screen.

What did I do wrong?

在此输入图像描述

I believe you have to actually add a launch image in the "R4" (Retina 4 inch) image well. It seems that you've only added a launch image for the "2x" (Retina 3.5 inch), and if iOS if Xcode isn't pointed towards a 4 inch default image, the app will remain in 3.5 inch mode.

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