removeStatusItem(_:)
Removes the specified status item from the receiver.
Declaration
func removeStatusItem(_ item: NSStatusItem)Parameters
- item:
The
NSStatusItemobject to remove.
Discussion
Status items to the left of the specified one in the status bar shift to the right to reclaim its space.