Contents

ToolbarPlacement

The placement of a toolbar.

Declaration

struct ToolbarPlacement

Overview

Use this type in conjunction with modifiers like toolbarBackground(_:for:) and toolbarVisibility(_:for:) to customize the appearance of different bars managed by SwiftUI. Not all bars support all types of customizations.

See ToolbarItemPlacement to learn about the different regions of these toolbars that you can place your own controls into.

Topics

Getting placements

Deprecated symbols

Type Properties

See Also

Setting toolbar visibility