Type Method

setMenuBarVisible(_:)

Sets whether the menu bar is visible and selectable by the user.

Declaration

class func setMenuBarVisible(_ visible: Bool)

Parameters

visible

true if the menu bar should be visible and selectable, otherwise false.

See Also

Managing the Menu Bar

class func menuBarVisible() -> Bool

Returns a Boolean value that indicates whether the menu bar is visible.

var menuBarHeight: CGFloat

The menu bar height for the main menu in pixels.