dismiss(animated:)
Dismisses the popover programmatically.
Declaration
func dismiss(animated: Bool)Parameters
Discussion
You can use this method to dismiss the popover programmatically in response to taps inside the popover window. Taps outside of the popover’s contents automatically dismiss the popover.