delegate
The delegate you want to receive popover controller messages.
Declaration
weak var delegate: (any UIPopoverControllerDelegate)? { get set }Discussion
The popover controller uses its delegate to determine whether it should dismiss the popover and provides a notification when such an event occurs. For more information about the methods you can implement in your delegate, see UIPopoverControllerDelegate.