Contents

editor

The editor role.

Declaration

static var editor: ToolbarRole { get }

Discussion

Use this role for a toolbar that primarily displays controls geared towards editing document-like content. In iPadOS, this will leading align the navigation title, allow for toolbar items to occupy the center of the navigation bar, and provide a custom appearance for any back button present in the toolbar.

See Also

Behavior-specific roles