action
The selector that is sent to the status item’s target when the status item is clicked.
Declaration
var action: Selector? { get set }Discussion
If the status item has a menu set, the action is not sent to the target when the status item is clicked; instead, the click causes the menu to appear.