Contents

isHidden

Determines whether an item is visible in the toolbar.

Declaration

var isHidden: Bool { get set }

Discussion

The item will still be visible in the customization panel. Because hidden items may be visible during user customization, use the visible property to determine if an item is currently displayed. Note that even hidden toolbar items are sync’d to other toolbars with a shared identifier, but its hidden state can be unique to each instance. Use this property to show a toolbar item in one toolbar instance but not another.

See Also

Getting the item’s configuration