I have a .Net MAUI application with Page A and Page B.
I want to move from Page A >>> Page B.
When I move using the following code, I have a back button (which is the desired behavior in my case) :
await Navigation.PushAsync(new MyPage());
However if I move to the other page using the following code, I don't have a back button :
await Shell.Current.GoToAsync("//MyPage");
For some other reasons I need to use navigation through Shell.
Does anyone know why I don't have a back button when navigating using Shell please ?
Thanks.