Edit

Share via


UIPopoverPresentationControllerDelegate_Extensions Class

Definition

Extension methods to the IUIPopoverPresentationControllerDelegate interface to support all the methods from the UIPopoverPresentationControllerDelegate protocol.

public static class UIPopoverPresentationControllerDelegate_Extensions
type UIPopoverPresentationControllerDelegate_Extensions = class
Inheritance
UIPopoverPresentationControllerDelegate_Extensions

Remarks

The extension methods for IUIPopoverPresentationControllerDelegate allow developers to treat instances of the interface as having all the optional methods of the original UIPopoverPresentationControllerDelegate protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.

Methods

DidDismissPopover(IUIPopoverPresentationControllerDelegate, UIPopoverPresentationController)

The popover that is controlled by popoverPresentationController was dismissed.

PrepareForPopoverPresentation(IUIPopoverPresentationControllerDelegate, UIPopoverPresentationController)

The popover that is controlled by popoverPresentationController will be presented soon.

ShouldDismissPopover(IUIPopoverPresentationControllerDelegate, UIPopoverPresentationController)

Asks if the popover that is controlled by popoverPresentationController should be dismissed.

WillRepositionPopover(IUIPopoverPresentationControllerDelegate, UIPopoverPresentationController, CGRect, UIView)
WillRepositionPopover(IUIPopoverPresentationControllerDelegate, UIPopoverPresentationController, CGRect, UIView)

Applies to