One Logo Pool Ball
SwiftUI · IOS API REFERENCE

ToolbarCommands

struct · iOS 14.0+ · SDK 27.1

nonisolated struct ToolbarCommands

A built-in set of commands for manipulating window toolbars. These commands are optional and can be explicitly requested by passing a value of this type to the ``Scene/commands(content:)`` modifier.

Members (1)

init · iOS 14.0+

init

TypeScript
static init(): ToolbarCommands
Swift declaration
nonisolated init()

A new value describing the built-in toolbar-related commands.

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

ToolbarCommands.body

This protocol needs associated types that cannot yet cross the bridge.

All SwiftUI types →