Instance Method


Attempts to close the popover.


- (IBAction)performClose:(id)sender;



The sender of the action message.


The popover will not be closed if it has a delegate and the delegate implements the returns popoverShouldClose: method returning NO, or if a subclass of the NSPopover class implements popoverShouldClose: and returns NO).

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 performClose: message.

The popover animates out when closed unless the animates property is set to NO.

See Also

Closing a Popover

- close

Forces the popover to close without consulting its delegate.