共用方式為


UIViewControllerTransitioningDelegate.GetPresentationControllerForPresentedViewController 方法

定義

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

[Foundation.Export("presentationControllerForPresentedViewController:presentingViewController:sourceViewController:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.UIPresentationController GetPresentationControllerForPresentedViewController (UIKit.UIViewController presentedViewController, UIKit.UIViewController presentingViewController, UIKit.UIViewController sourceViewController);
abstract member GetPresentationControllerForPresentedViewController : UIKit.UIViewController * UIKit.UIViewController * UIKit.UIViewController -> UIKit.UIPresentationController
override this.GetPresentationControllerForPresentedViewController : UIKit.UIViewController * UIKit.UIViewController * UIKit.UIViewController -> UIKit.UIPresentationController

參數

presentedViewController
UIViewController
presentingViewController
UIViewController

即將加入。

這個參數可以是 null

sourceViewController
UIViewController

傳回

屬性

適用於