I am creating a settings modal in my app, and I would like to be able to "navigate" to categories of settings within the modal.
There are examples of this in apps, like Flipboard for example. If you open the settings, a modal opens, and you can tap a category. It navigates you to a new page (still within the modal), and you get a back button that will bring you back to the modal page. When you close the modal, your navigation stack is still valid, they seem to be two separate stacks. You can even navigate deeper, like open settings > Edit Profile > Change Email. You then can go back twice to get back to the main modal and close it by tapping done. Possible in {N}?
来源:https://stackoverflow.com/questions/39771855/nativescript-how-to-use-navigation-in-modals