Skip to content

Glossary: SwiftUI

.navigationDestination

Also written: navigationDestination(for:)

A modifier that says which screen to build when a link carrying a value of a given type is tapped. It must sit inside the NavigationStack.

Where the book teaches it

Related terms

NavigationLinkNavigationStack