iOS Application Doesn't Fill iPhone Screen

2020-02-12 02:12发布

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

enter image description here

The screen design was done in Xcode below is a screen shot of the settings for the UIViewController in Xcode.

XCode settings

What am I doing wrong, why is the View too small?

1条回答
在下西门庆
2楼-- · 2020-02-12 02:56

Put a 4" launch screen image into your asset catalog or info.plist

查看更多
登录 后发表回答