Sabareesh
Sabareesh

Reputation: 3605

Back button is not showing on Navigationbar . Xamarin

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

Answers (2)

bhavya joshi
bhavya joshi

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

Related Questions