menuBarHeight
The menu bar height for the main menu in pixels.
Declaration
var menuBarHeight: CGFloat { get }Discussion
For the main menu, the value of this property is a value of type CGFloat, indicating the height of the menu bar in pixels. For any other menu, the value of this property is 0.
This property supersedes the menuBarHeight class method of the NSMenuView class.