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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I had a code snippet as below where I modified the navigationDestination with isPresented argument to control when will the view change, but at the end of the SecondView, the reset button didn't bring the navigationStack to the root view with ContentView, it just do nothing when pressing the reset button.
I have tried wrapping the body within the NavigationStack(path: $router.path), but still not working.
I had a code snippet as below where I modified the navigationDestination with
isPresented
argument to control when will the view change, but at the end of theSecondView
, the reset button didn't bring the navigationStack to the root view withContentView
, it just do nothing when pressing the reset button.I have tried wrapping the body within the NavigationStack(path: $router.path), but still not working.
Appreciate for the help. Thanks !!