Contents

ToolbarPlacement

The placement of a toolbar.

Declaration

struct ToolbarPlacement

Overview

Use this type in conjunction with modifiers like toolbarBackground(_:for:) and toolbar(_: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

See Also

Setting toolbar visibility