navigationDocument

Configures the view's document for purposes of navigation.

View ModifieriOS 16.0+macOS 13.0+tvOS 16.0+watchOS 9.0+

Overloads

2 ways to call compose().navigationDocument(). Each is one SwiftUI overload, picked by the arguments you pass.

See also

More in Navigation.