2
votes

I am using the Prism.Forms.Unity

On drawer menu item selected user is navigating from MasterDetails page to next page, On the navigated page is not showing me that back arrow which will go back to my master details page.

I have tried using few options which are shown below

  1. The first option I tried using the NavigationPage, starting the new page using prism navigation method

_navigationService.NavigateAsync("NavigationPage/Add");

  1. The second option I tried to set the property in XAML
NavigationPage.HasBackButton="True"

enter image description here These two ways are not working for me. What is the correct way to this?

1

1 Answers

2
votes

There is no back button if you only have one page on the NavigationPage's navigation stack. You need to have more than one page on the nav stack to have a back button. Otherwise, there is nothing to go back to.