The customization behavior of customizable toolbar content.
Customizable toolbar content support different types of customization
behaviors. For example, some customizable content may not be removed by
the user. Some content may be placed in a toolbar that supports
customization overall, but not for that particular content.
Use this type in conjunction with the
``CustomizableToolbarContent/customizationBehavior(_:)`` modifier.
Members (3)
get · iOS 16.0+
reorderable
TypeScript
static get reorderable(): ToolbarCustomizationBehavior
Swift declaration
static var reorderable: ToolbarCustomizationBehavior { get }
The reorderable customization behavior.
Items with this behavior start in the toolbar and can be moved within
the toolbar by the user, but can not be removed from the toolbar.
get · iOS 16.0+
default
TypeScript
static get default(): ToolbarCustomizationBehavior
Swift declaration
static var `default`: ToolbarCustomizationBehavior { get }
The default customization behavior.
Items with this behavior start in the toolbar and can be
moved or removed from the toolbar by the user.
get · iOS 16.0+
disabled
TypeScript
static get disabled(): ToolbarCustomizationBehavior
Swift declaration
static var disabled: ToolbarCustomizationBehavior { get }
The disabled customization behavior.
Items with this behavior may not be removed or moved by the user.
They will be placed before other customizatable items. Use this
behavior for the most important items that users need for the app
to do common functionality.