UIViewControllerTransitioningDelegate_Extensions.GetPresentationControllerForPresentedViewController 方法

定义

返回呈现 时presentingpresented使用的演示控制器。

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static UIKit.UIPresentationController GetPresentationControllerForPresentedViewController (this UIKit.IUIViewControllerTransitioningDelegate This, UIKit.UIViewController presentedViewController, UIKit.UIViewController presentingViewController, UIKit.UIViewController sourceViewController);
static member GetPresentationControllerForPresentedViewController : UIKit.IUIViewControllerTransitioningDelegate * UIKit.UIViewController * UIKit.UIViewController * UIKit.UIViewController -> UIKit.UIPresentationController

参数

This
IUIViewControllerTransitioningDelegate

此扩展方法操作的实例。

presentedViewController
UIViewController
presentingViewController
UIViewController

内容待定。

此参数可以为 null

sourceViewController
UIViewController

返回

属性

适用于