雾聪
2024-01-23 37fcd9f024c2cd4a22f15610fd7c5d98533fed09
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
namespace MauiApp1;
 
public partial class App : Application
{
    public App()
    {
        InitializeComponent();
        MainPage = new MySplashPage();
        _ = EndSplash();
    }
    async Task EndSplash()
    {
        await Task.Delay(1000);
        MainThread.BeginInvokeOnMainThread(() =>
        {
            MainPage = new AppShell();
        });
    }
}