Iphone 5 全面屏尺寸 [英] Iphone 5 full screen size

查看:29
本文介绍了Iphone 5 全面屏尺寸的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在捆绑包中包含了一个名为:Default-568h@2x.png (640x1136) 的启动图像.但是 iPhone 5 在横向模式下仍然有两个垂直的黑条在左右两侧.如果我从 Images.xcassets 中删除了所有启动图像,那么它会全屏显示.

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.

我做错了什么?

推荐答案

我相信您实际上必须在R4"(Retina 4 英寸)图像中添加启动图像.似乎您只为2x"(Retina 3.5 英寸)添加了启动图像,如果 iOS 如果 Xcode 未指向 4 英寸默认图像,则应用程序将保持在 3.5 英寸模式.

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.

这篇关于Iphone 5 全面屏尺寸的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆