Contents

popUpMenu(_:)

Displays a menu under a custom status bar item.

Declaration

func popUpMenu(_ menu: NSMenu)

Parameters

  • menu:

    The NSMenu object to display.

Discussion

You can use this method to cause a popup menu to appear under a custom status bar item when the user clicks the item. Note that the view of the status item must exist (that is, it must not be nil).

See Also

Deprecated