I am going from the main maipage to another contentpage as follows:
private async void Button_Clicked(object sender, EventArgs e)
{
await Navigation.PushModalAsync(new NavigationPage(new brigadas()));
}
If the content page opens but the button to return does not appear.
This is how it comes out, I mark in red where the arrow or button to return should come out, but it does not appear.
I am using visual studio 2019
My problem was that I wasn't specifying which was my main contentpage, so I couldn't return if I opened contentpage2, etc. I specified the following in App.xaml.css of the solution:
and now if the return arrow appears and in the button event just add:
Greetings and I hope someone else will help my solution. PS: Nothing to do with frameworks as mentioned in the other answer given.