Disabled Toolbar Vertical Behavior
Disables the vertical bar.
Platform Compatibility
iOS 27.1+ iPadOS 27.1+
Tags
SwiftUI Code
TabView {
Tab("1", systemImage: "1.circle") {
NavigationStack {
Text("0")
.toolbar {
Button(role: .confirm, action: action)
}
}
}
Tab("2", systemImage: "2.circle") {
Text("2")
}
}
.toolbarVerticalBehavior(.disabled)Found an issue or have a suggestion?
Created: September 24, 2026Updated: September 24, 2026