Protocol

UIPopoverControllerDelegate

The UIPopoverControllerDelegate protocol defines the methods you can implement for the delegate of a UIPopoverController object. Popover controllers notify their delegate whenever user interactions would cause the dismissal of the popover and, in some cases, give the user a chance to prevent that dismissal.

Overview

For more information about the UIPopoverController class, see UIPopoverController.

Symbols

Responding to Popover Position Changes

func popoverController(UIPopoverController, willRepositionPopoverTo: UnsafeMutablePointer<CGRect>, in: AutoreleasingUnsafeMutablePointer<UIView>)

Tells the delegate that the popover controller needs to change the popover’s location in its view.

Deprecated

Managing the Popover’s Dismissal

func popoverControllerShouldDismissPopover(UIPopoverController)

Asks the delegate if the popover should be dismissed.

Deprecated
func popoverControllerDidDismissPopover(UIPopoverController)

Tells the delegate that the popover was dismissed.

Deprecated

Relationships

Inherits From