Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on kbin.social
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
3

No replies yet

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