Ich habe einige Leute gefunden Aber ich habe mich gefragt, ob jemand dieses Problem in Maui auf oder gelöst hat. Wenn Sie erneut auf diese aktive Registerkarte klicken, kehrt nicht zurück zu dieser Registerkarte zurück. /p>
Appshell.xaml.cs
Code: Select all
public AppShell()
{
InitializeComponent();
Routing.RegisterRoute("Notifications", typeof(Notifications));
Routing.RegisterRoute("home", typeof(MainPage));
}
< /code>
Appshell.xaml:
< /code>
headerBar.xaml.cs
private async void NotificationsClicked(object sender, EventArgs args)
{
await Shell.Current.GoToAsync("Notifications");
}