UIAdaptivePresentationControllerDelegate_Extensions Class

Definition

Extension methods to the IUIAdaptivePresentationControllerDelegate interface to support all the methods from the UIAdaptivePresentationControllerDelegate protocol.

public static class UIAdaptivePresentationControllerDelegate_Extensions
type UIAdaptivePresentationControllerDelegate_Extensions = class
Inheritance
UIAdaptivePresentationControllerDelegate_Extensions

Remarks

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

Methods

GetAdaptivePresentationStyle(IUIAdaptivePresentationControllerDelegate, UIPresentationController, UIModalPresentationStyle)
Obsolete.

Incorrect signature. Use the overload with a UITraitCollection parameter.

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.

Applies to