Edytuj

Udostępnij za pośrednictwem


UIViewControllerTransitioningDelegate_Extensions.GetPresentationControllerForPresentedViewController Method

Definition

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

[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

Parameters

This
IUIViewControllerTransitioningDelegate

The instance on which this extension method operates.

presentedViewController
UIViewController
presentingViewController
UIViewController

To be added.

This parameter can be null.

sourceViewController
UIViewController

Returns

Attributes

Applies to