Attempts to close the popover.
- macOS 10.7+
The sender of the action message.
The popover will not be closed if it has a delegate and the delegate implements the returns
popover method returning
NO, or if a subclass of the NSPopover class implements
popover and returns
The operation will fail if the popover is displaying a nested popover or if it has a child window. A window will attempt to close its popovers when it receives a
The popover animates out when closed unless the
animates property is set to