本文介绍了iOS 应用程序无法填满 iPhone 屏幕的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用 Xamarin 编写 iPhone 应用程序.我的UIViewController
没有填满整个屏幕,上下有空隙.这是模拟器的屏幕截图.我已经改变了配色方案,让间隙更明显
I am writing an iPhone app using Xamarin. My UIViewController
does not fill the entire screen, there is a gap above and below. Here is a screen shot from the simulator. I have changed the colour scheme to make the gaps more obvious
屏幕设计是在 Xcode 中完成的,下面是 Xcode 中 UIViewController
设置的屏幕截图.
The screen design was done in Xcode below is a screen shot of the settings for the UIViewController
in Xcode.
我做错了什么,为什么 View 太小了?
What am I doing wrong, why is the View too small?
推荐答案
将 4" 启动屏幕图像放入您的资产目录或 info.plist
Put a 4" launch screen image into your asset catalog or info.plist
这篇关于iOS 应用程序无法填满 iPhone 屏幕的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!