Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 433
JDibble Avatar asked Sep 19 '14 08:09

JDibble


People also ask

Why are some apps not full screen on iPhone?

Some apps may not be optimized for the size of the Infinity Display and may not completely fill the screen. Many apps can be resized to take full advantage of the expanded aspect ratio.

Why won't my iPhone do full screen?

It sounds like you may have Portrait Orientation Lock enabled. You can disable this in the Control Center by swiping down from the top right corner of your screen. You'll see a lock with a circled arrow around it. Find more information here: Rotate the screen on your iPhone or iPod touch.

Why are some apps not full screen?

If you have an older app that wasn't designed to take full advantage of your device's Infinity display, it may not completely fill the screen. Thankfully, many apps can be set to fill the screen. Some apps may not be compatible with Full screen view.


Video Answer


1 Answers

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

like image 193
liamnichols Avatar answered Oct 07 '22 10:10

liamnichols