I have an app that requires both a slide out menu that is accessible from every view, and a back button (in a subheader bar) on every view that was not accessed bu the menu. It should look like the image below.
To get the menu working properly, I created a NavigationPage with the root page the MasterDetail page containing the Menu as the Master and the View as the Detail. When a menu item is clicked, I change the detail page to the appropriate view, and this works well (except that there is no icon in iOS)
Now I am trying to get the 'back' navigation working, but I'm finding that I can't use Navigation because the Detail Page is not a NavigationPage and I can't make it a NavigationPage because I already have a NavigationPage. What I think I need to do is to create a NavigationStack that is not tied to a NavigationPage that I can tie to my back button, but I haven't found a way to do this. Is this possible, or is there a better approach?
↧
Menu and Navigation
↧