UIViewControllerTransitioningDelegate_Extensions.GetInteractionControllerForPresentation 方法

定义

当控制器出现并需要交互时,可以重写此方法以提供自定义 UIViewControllerInteractiveTransitioning。

public static UIKit.IUIViewControllerInteractiveTransitioning GetInteractionControllerForPresentation (this UIKit.IUIViewControllerTransitioningDelegate This, UIKit.IUIViewControllerAnimatedTransitioning animator);
static member GetInteractionControllerForPresentation : UIKit.IUIViewControllerTransitioningDelegate * UIKit.IUIViewControllerAnimatedTransitioning -> UIKit.IUIViewControllerInteractiveTransitioning

参数

This
IUIViewControllerTransitioningDelegate

此扩展方法在其上运行的实例。

返回

适用于