You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, awesome work here.
I wonder how to navigate programmatically to any view in hierarchy, but not just popping to a previous one also pushing a far view.
I have a navigation mechanism that should be able to navigate from any view to any other view keeping stack. Useful to use with deep links for example, which I need. It was working fine until found some issues in SwiftUI for certain routes.
So, is this possible now? Maybe a navigationStack.push([View]) Perhaps View should conform to protocol Identifiable ....
Example:
I have a view targetView which can be reached by this route: [root, view1, view2, targetView]
I'm currently in another view currentView which route could be like [root, view1, view3, currentView]
I ned to go from currentView to targetView in seamless way but keeping stack, so I don't want to view how it animates popping to view1and then pushing view2 and after that targetView.
Thanks in advance!
The text was updated successfully, but these errors were encountered:
Hi, awesome work here.
I wonder how to navigate programmatically to any view in hierarchy, but not just popping to a previous one also pushing a far view.
I have a navigation mechanism that should be able to navigate from any view to any other view keeping stack. Useful to use with deep links for example, which I need. It was working fine until found some issues in SwiftUI for certain routes.
So, is this possible now? Maybe a
navigationStack.push([View])
Perhaps View should conform to protocolIdentifiable
....Example:
I have a view
targetView
which can be reached by this route:[root, view1, view2, targetView]
I'm currently in another view
currentView
which route could be like[root, view1, view3, currentView]
I ned to go from
currentView
totargetView
in seamless way but keeping stack, so I don't want to view how it animates popping toview1
and then pushingview2
and after thattargetView
.Thanks in advance!
The text was updated successfully, but these errors were encountered: