- Feb 13, 2026
Toolbar Title Display Mode in SwiftUI
- DevTechie
- SwiftUI
The .toolbarTitleDisplayMode(.inlineLarge)modifier offers a delightful blend of the traditional "large" and "inline" title styles for SwiftUI apps, providing a smoother and more modern feel to your app's navigation.
Let’s create a simple SwiftUI example that demonstrates .toolbarTitleDisplayMode(.inlineLarge) in action.
struct InlineLargeTitleDemo: View {
var body: some View {
NavigationStack {
List {
Section(header: Text("Video Courses")) {
Text("Getting Started with Apple Foundation Models")
Text("Apple Foundation Models in Action: Session Management for On-Device AI")
Text("Apple Intelligence: Guided Generation and Tools Calling in Foundation Models")
}
.font(.title3)
Section(header: Text("Books")) {
Text("Apple Foundations Model with SwiftUI: Next-Gen Machine Learning and Generative AI Apps")
Text("Mastering Machine Learning in iOS with SwiftUI: From Basics to Advanced")
}
}
.navigationTitle("DevTechie Courses")
.toolbar {
ToolbarItem(placement: .topBarLeading) {
Button("Settings") {
}
}
}
.toolbarTitleDisplayMode(.inlineLarge)
}
}
}Other options are .toolbarTitleDisplayMode(.inline)
struct InlineLargeTitleDemo: View {
var body: some View {
NavigationStack {
List {
Section(header: Text("Video Courses")) {
Text("Getting Started with Apple Foundation Models")
Text("Apple Foundation Models in Action: Session Management for On-Device AI")
Text("Apple Intelligence: Guided Generation and Tools Calling in Foundation Models")
}
.font(.title3)
Section(header: Text("Books")) {
Text("Apple Foundations Model with SwiftUI: Next-Gen Machine Learning and Generative AI Apps")
Text("Mastering Machine Learning in iOS with SwiftUI: From Basics to Advanced")
}
}
.navigationTitle("DevTechie Courses")
.toolbar {
ToolbarItem(placement: .topBarLeading) {
Button("Settings") {
}
}
}
.toolbarTitleDisplayMode(.inline)
}
}
}Other options are .toolbarTitleDisplayMode(.large)
struct InlineLargeTitleDemo: View {
var body: some View {
NavigationStack {
List {
Section(header: Text("Video Courses")) {
Text("Getting Started with Apple Foundation Models")
Text("Apple Foundation Models in Action: Session Management for On-Device AI")
Text("Apple Intelligence: Guided Generation and Tools Calling in Foundation Models")
}
.font(.title3)
Section(header: Text("Books")) {
Text("Apple Foundations Model with SwiftUI: Next-Gen Machine Learning and Generative AI Apps")
Text("Mastering Machine Learning in iOS with SwiftUI: From Basics to Advanced")
}
}
.navigationTitle("DevTechie Courses")
.toolbar {
ToolbarItem(placement: .topBarLeading) {
Button("Settings") {
}
}
}
.toolbarTitleDisplayMode(.large)
}
}
}Master SwiftUI & SwiftData by Building a Task Manager (iOS 26)
Learn SwiftUI and SwiftData in iOS 26 by building a complete Task Manager app from scratch. This hands-on course walks…www.devtechie.com
Learn more at https://www.devtechie.com


