Upravit

Sdílet prostřednictvím


UIViewControllerTransitioningDelegate_Extensions Class

Definition

Extension methods to the IUIViewControllerTransitioningDelegate interface to support all the methods from the UIViewControllerTransitioningDelegate protocol.

public static class UIViewControllerTransitioningDelegate_Extensions
type UIViewControllerTransitioningDelegate_Extensions = class
Inheritance
UIViewControllerTransitioningDelegate_Extensions

Remarks

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

Methods

GetAnimationControllerForDismissedController(IUIViewControllerTransitioningDelegate, UIViewController)

When a dismissal animation is called, this method can be overridden to provide a custom UIViewControllerAnimatedTransitioning.

GetAnimationControllerForPresentedController(IUIViewControllerTransitioningDelegate, UIViewController, UIViewController, UIViewController)

Returns the animation controller that is used when presenting presents presented.

GetInteractionControllerForDismissal(IUIViewControllerTransitioningDelegate, IUIViewControllerAnimatedTransitioning)

When a controller is dismissed and an interaction is desired, this method can be overridden to provide a custom UIViewControllerInteractiveTransitioning.|When a dismissal interaction is called and an interaction animation is desired, t

GetInteractionControllerForPresentation(IUIViewControllerTransitioningDelegate, IUIViewControllerAnimatedTransitioning)

When a controller is presented and an interaction desired, this method can be overridden to provide a custom UIViewControllerInteractiveTransitioning.

GetPresentationControllerForPresentedViewController(IUIViewControllerTransitioningDelegate, UIViewController, UIViewController, UIViewController)

Returns the presentation controller that is used when presenting presents presented.

Applies to