C
C#2y ago
reeeeeee

MAUI - Weird footer and header when changing from NavigationPage to AppShell

I want some kind of "Splash screen" that appears for 3 seconds and then redirect to MainPage (which is inside the AppShell). But then this happens, wtf.
public App()
{
InitializeComponent();
MainPage = new NavigationPage(new StartPage());
Instance = this;
}

protected override async void OnStart()
{
try
{
// Check settings, session ,etcetc... TODO
await Task.Delay(3000);
MainPage = new AppShell();
}
public App()
{
InitializeComponent();
MainPage = new NavigationPage(new StartPage());
Instance = this;
}

protected override async void OnStart()
{
try
{
// Check settings, session ,etcetc... TODO
await Task.Delay(3000);
MainPage = new AppShell();
}
0 Replies
No replies yetBe the first to reply to this messageJoin