Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xamarin iOS layout changes after adding launch screen storyboard

Tags:

I inherited an old xamarin codebase. It launches in this strange windowed form with top and bottom black bars (pictured below). It also uses a launch image. As soon as I start using a launch storyboard, the app becomes fullscreen (no top/bottom black bars), and as a result, all the layout is messed up.

Does anyone know how to have the launch storyboard without removing the black bars?

non fullscreen layout

like image 788
xytor Avatar asked Apr 26 '20 20:04

xytor


1 Answers

Not really, this is a feature.

Apple says, "Your app will run in Full Screen Display Mode on iPhone X, iPhone XS, iPhone XS Max, and iPhone XR if your project’s base SDK is set to iOS 11 or later and you have a Launch Storyboard or iPhone X launch image."

So you adding the storyboard triggers the app to run in full screen mode.

ref: https://developer.apple.com/iphone/, search for "Enable full screen native resolution".

like image 129
Graham Perks Avatar answered Oct 10 '22 05:10

Graham Perks