Skip to content

Commit 70cc6bc

Browse files
committed
use iOS safe area
This tells the content area to add iOS safe area margin so that there are not UI collisions with the iOS status bar. See https://learn.microsoft.com/en-us/dotnet/maui/ios/platform-specifics/page-safe-area-layout?view=net-maui-9.0
1 parent 197953b commit 70cc6bc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

backend/FwLite/FwLiteMaui/MainPage.xaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
33
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
44
xmlns:local="clr-namespace:FwLiteMaui"
5+
xmlns:ios="clr-namespace:Microsoft.Maui.Controls.PlatformConfiguration.iOSSpecific;assembly=Microsoft.Maui.Controls"
6+
ios:Page.UseSafeArea="True"
57
xmlns:shared="clr-namespace:FwLiteShared;assembly=FwLiteShared"
68
x:Class="FwLiteMaui.MainPage">
79
<BlazorWebView x:Name="blazorWebView" HostPage="wwwroot/index.html">

0 commit comments

Comments
 (0)