Configuration for the navigation destination.
Support
Usage
Programmatic navigation
Conditional navigation based on data
Notes
- This modifier provides programmatic control over navigation, as opposed to NavigationLink which navigates on tap.
- The destination view is pushed onto the NavigationStack. When the user taps the back button,
setIsPresentedis called withfalse.
See Also
- NavigationStack — the navigation container
- NavigationLink — tap-to-navigate link
- navigationTitle — sets the navigation bar title