共用方式為


UIViewControllerTransitioningDelegate_Extensions.GetPresentationControllerForPresentedViewController 方法

定義

傳回呈現 presentedpresenting 所使用的簡報控制器。

[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

傳回

屬性

適用於