Type Property 型プロパティ

automatic

The system places the item automatically, depending on many factors including the platform, size class, or presence of other items.

Declaration 宣言

static let automatic: ToolbarItemPlacement

Discussion 議論

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.

See Also 参照

Getting Semantic Placement