Search code examples
iosiphonexamarin.iosxcode5xamarin

iOS Application Doesn't Fill iPhone Screen


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?


Solution

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