static let principal: ToolbarItemPlacement
The system places the item in the principal item section.
static let status: ToolbarItemPlacement
The item represents a change in status for the current context.
Availability 有効性
Technology
static let automatic: ToolbarItemPlacement
In macOS and in Mac Catalyst apps, the system places items in the current toolbar section in order of leading to trailing. On watchOS, only the first item appears, pinned beneath the navigation bar.
In iOS, iPadOS, and tvOS, the system places items in the trailing position of the navigation bar.
In compact horizontal size classes, both the leading and the trailing positions of the navigation bar are limited to a single item each.
static let principal: ToolbarItemPlacement
static let status: ToolbarItemPlacement