Reputation: 3605
When show screen, navigation is showing at the Top.But Back button is not showing. When i use Navigation.PushAsync method then back button is showing.
I am using below code.
Navigation.PushModalAsync(new LoginSelection());
how can i show backbutton at left side of Modal screen.
Upvotes: 1
Views: 3502
Reputation: 1136
When you call PushModalAsync()
, you are creating an another Navigation Stack of Modals.Thus, your LoginSelection()
page is not added to the Page Navigation Stack,but it is added on Modal Navigation Stack.
Thus,there are no pages in your modal stack and that's why back button is not appearing
Upvotes: 2
Reputation: 673
Check the below link:-
https://forums.xamarin.com/discussion/69952/navigationpage-pushmodalasync-and-back-button`
Xamarin Forms Reverse PushModalAsync
Upvotes: 0