Instance Property

mainMenu

The app’s main menu bar.

Declaration

@property(strong) NSMenu *mainMenu;

Discussion

Use this property to assign a new menu bar for your app or to access the current menu bar.

See Also

Accessing the Main Menu

automaticCustomizeTouchBarMenuItemEnabled

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