Instance Property

isAutomaticCustomizeTouchBarMenuItemEnabled

A Boolean value indicating whether the main menu contains an item for customizing the contents of the Touch Bar.

Declaration

var isAutomaticCustomizeTouchBarMenuItemEnabled: Bool { get set }

Discussion

When the value of this property is true, AppKit adds a standard item to the app's Window menu allowing the user to customize the Touch Bar contents, but only if a Touch Bar is present. The default value of this property is false.

See Also

Accessing the Main Menu

var mainMenu: NSMenu?

The app’s main menu bar.