Share via


UIAdaptivePresentationControllerDelegate.GetViewControllerForAdaptivePresentation Method

Definition

The view controller to use for the specified style.

[Foundation.Export("presentationController:viewControllerForAdaptivePresentationStyle:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual UIKit.UIViewController GetViewControllerForAdaptivePresentation(UIKit.UIPresentationController controller, UIKit.UIModalPresentationStyle style);
[<Foundation.Export("presentationController:viewControllerForAdaptivePresentationStyle:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetViewControllerForAdaptivePresentation : UIKit.UIPresentationController * UIKit.UIModalPresentationStyle -> UIKit.UIViewController
override this.GetViewControllerForAdaptivePresentation : UIKit.UIPresentationController * UIKit.UIModalPresentationStyle -> UIKit.UIViewController

Parameters

Returns

Implements

Attributes

Applies to