-
Notifications
You must be signed in to change notification settings - Fork 80
Description
Imagine a navigation controller which gets presented and contains multiple viewcontrollers, which are pushed because of a Route constructed out of Route identifiers with respect to some user navigation flow, e.g. the route might be; [root, nav, vcA, vcB, vcC].
Popping one viewcontroller is achieved by dispatching a SetRouteAction, with for example a new route, e.g. [root, nav, vcA, vcB].
This works fine, but if for example the user wants to dismiss the presented viewcontroller, the route should be for this example; [root].
However doing so, will just pop (animated) each viewcontroller and then dismiss the presented viewcontroller.
What will be a good way to get the presented viewcontroller dismissed in one time with a route action? I was thinking of using the SpecificRouteData option... but maybe it is better to just dismiss the presented viewcontroller and then update the route path..
any ideas?