How to navigate back from FreshMasterDetailNavigationContainer with FreshMvvm?

560 views Asked by At

I use the following code to start a freshhmvvm master-detail page from a list in a navigation page. This works fine, but the user can not go back to the list page on IOS. On android it is possible using the system back-button from each detailpage.

Does this mean I have to add a 'Back' button to each detailpage to make this work on IOS? Or are there other ways to start a masterdetail in freshmvvm?

var masterDetailNav = new FreshMasterDetailNavigationContainer();
masterDetailNav.Init("Menu");
masterDetailNav.AddPage<FirstPageModel>("First", item);
masterDetailNav.AddPage<SecondPageModel>("Second", item.id);
await CoreMethods.PushNewNavigationServiceModal(masterDetailNav);
0

There are 0 answers