navigationTitle

Configures the view's title for purposes of navigation, using a localized string resource.

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

Overloads

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

See also

More in Navigation.