Hi, how to implement the SafeAreaLayoutGuide for iPhone X? In landscape mode the controls on the right appear under the top notch. I don't see any documentation on the new SafeAreaLayoutGuide property. Can this be specified for a stacklayout?
Is this not what their blog post talks about?
protected override void OnAppearing()
var safeInsets = On<Xamarin.Forms.PlatformConfiguration.iOS>().SafeAreaInsets();
safeInsets.Left = 24;
this.Padding = safeInsets;
Did you find a solution? I need this too @EthanPhoenix
No, I didn't find a solution yet. For now I just disabled the landscape orientation.
Thanks, it looks like it's adding padding on left and right but the problem is that the page dark background is now pushed and you end up with 2 white blocks one on the left and one on the right and also the bottom. Is there a way to make the page background take up the whole screen?
Pre Iphone X I am able to set the page background like this:
For anyone having this same issue of page background being pushed because of the safe area, then you have to set the page background on the actual page.
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies