Spyke
iosprogramming·iOS Programmingbyroydbt

Undo a backward move when using NavigationStack

When I navigate backward (like swiping the view from the left), I want to be able to drag it back from the right to move to that previous view. Sort of like an undo stack.
I asked this question on StackOverflow and the solution there works, but doesn't feel "native": I want the full dragging-of-the-view effect just like in the native navigation.
Is it possible to use NavigationStack or other existing views to solve that?

View original on kbin.social
No comments on the original post yet.
Undo a backward move when using NavigationStack | Spyke