Toolbar Overflow Menu
The overflow menu of a toolbar. An overflow menu represents actions that are always placed in the toolbar’s overflow menu, regardless of the toolbar mode, platform, or customizability.
Platform Compatibility
Tags
SwiftUI Code
NavigationStack {
Text("FooBar")
.toolbar {
ToolbarOverflowMenu {
Button("Foo", action: action)
Button("Bar", action: action)
}
}
}