編集

次の方法で共有


IUIPopoverPresentationControllerDelegate Interface

Definition

Interface representing the required methods (if any) of the protocol UIPopoverPresentationControllerDelegate.

[Foundation.Protocol(Name="UIPopoverPresentationControllerDelegate", WrapperType=typeof(UIKit.UIPopoverPresentationControllerDelegateWrapper))]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IUIPopoverPresentationControllerDelegate : IDisposable, UIKit.IUIAdaptivePresentationControllerDelegate
type IUIPopoverPresentationControllerDelegate = interface
    interface INativeObject
    interface IDisposable
    interface IUIAdaptivePresentationControllerDelegate
Derived
Attributes
Implements

Remarks

This interface contains the required methods (if any) from the protocol defined by UIPopoverPresentationControllerDelegate.

If developers create classes that implement this interface, the implementation methods will automatically be exported to Objective-C with the matching signature from the method defined in the UIPopoverPresentationControllerDelegate protocol.

Optional methods (if any) are provided by the UIPopoverPresentationControllerDelegate_Extensions class as extension methods to the interface, allowing developers to invoke any optional methods on the protocol.

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Extension Methods

GetAdaptivePresentationStyle(IUIAdaptivePresentationControllerDelegate, UIPresentationController, UITraitCollection)

The presentation style to use for the specified controller and traitCollection.

GetAdaptivePresentationStyle(IUIAdaptivePresentationControllerDelegate, UIPresentationController)

Returns the new presentation style to use after a change to the forPresentationController.

GetViewControllerForAdaptivePresentation(IUIAdaptivePresentationControllerDelegate, UIPresentationController, UIModalPresentationStyle)

The view controller to use for the specified style.

WillPresent(IUIAdaptivePresentationControllerDelegate, UIPresentationController, UIModalPresentationStyle, IUIViewControllerTransitionCoordinator)

Called prior to presentation.

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)

Applies to