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?

You are viewing a single thread.
View all comments View context
1 point

I was looking for something like Apollo had, shame there apple didn’t adopt this feature

permalink
report
parent
reply

SwiftUI/Native Apple Development Discussion

!SwiftUI@kbin.social

Create post

Discussion about all things SwiftUI-related. Get help with a bug in your code, ask about a new API you want to learn, show off your awesome work, etc.

Community stats

  • 1

    Monthly active users

  • 6

    Posts

  • 2

    Comments

Community moderators