largeSubtitle
A placement for items in the navigation bar’s large title subtitle area.
Declaration
static let largeSubtitle: ToolbarItemPlacementDiscussion
The view appears when the navigation bar renders its title out-of-line, and takes precedence over the value provided to the View.navigationSubtitle(_:) modifier.
struct ContentView: View {
var body: some View {
NavigationStack {
DetailView()
.navigationTitle("Title")
.navigationSubtitle("Subtitle")
.toolbar {
ToolbarItem(placement: .largeSubtitle) {
CustomLargeNavigationSubtitle()
}
}
}
}
}