One Logo Pool Ball
SwiftUI · IOS API REFERENCE

SidebarCommands

struct · iOS 14.0+ · SDK 27.1

nonisolated struct SidebarCommands

A built-in set of commands for manipulating window sidebars. 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(): SidebarCommands
Swift declaration
nonisolated init()

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

Skipped declarations

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

SidebarCommands.body

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

All SwiftUI types →