ToolbarTitleDisplayMode
A type that defines the behavior of title of a toolbar.
Declaration
struct ToolbarTitleDisplayModeOverview
Use the toolbarTitleDisplayMode(_:) modifier to configure the title display behavior of your toolbar:
NavigationStack {
ContentView()
.toolbarTitleDisplayMode(.inlineLarge)
}