Edit

Share via


UIAdaptivePresentationControllerDelegate_Extensions.GetAdaptivePresentationStyle Method

Definition

Overloads

GetAdaptivePresentationStyle(IUIAdaptivePresentationControllerDelegate, UIPresentationController)

Returns the new presentation style to use after a change to the forPresentationController.

GetAdaptivePresentationStyle(IUIAdaptivePresentationControllerDelegate, UIPresentationController, UIModalPresentationStyle)
Obsolete.

Incorrect signature. Use the overload with a UITraitCollection parameter.

GetAdaptivePresentationStyle(IUIAdaptivePresentationControllerDelegate, UIPresentationController, UITraitCollection)

The presentation style to use for the specified controller and traitCollection.

GetAdaptivePresentationStyle(IUIAdaptivePresentationControllerDelegate, UIPresentationController)

Returns the new presentation style to use after a change to the forPresentationController.

public static UIKit.UIModalPresentationStyle GetAdaptivePresentationStyle (this UIKit.IUIAdaptivePresentationControllerDelegate This, UIKit.UIPresentationController forPresentationController);
static member GetAdaptivePresentationStyle : UIKit.IUIAdaptivePresentationControllerDelegate * UIKit.UIPresentationController -> UIKit.UIModalPresentationStyle

Parameters

This
IUIAdaptivePresentationControllerDelegate

The instance on which this extension method operates.

forPresentationController
UIPresentationController

Returns

Applies to

GetAdaptivePresentationStyle(IUIAdaptivePresentationControllerDelegate, UIPresentationController, UIModalPresentationStyle)

Caution

Incorrect signature. Use the overload with a UITraitCollection parameter.

Incorrect signature. Use the overload with a UITraitCollection parameter.

[System.Obsolete("Incorrect signature. Use the overload with a UITraitCollection parameter.")]
public static UIKit.UIViewController GetAdaptivePresentationStyle (UIKit.IUIAdaptivePresentationControllerDelegate This, UIKit.UIPresentationController controller, UIKit.UIModalPresentationStyle style);
static member GetAdaptivePresentationStyle : UIKit.IUIAdaptivePresentationControllerDelegate * UIKit.UIPresentationController * UIKit.UIModalPresentationStyle -> UIKit.UIViewController

Parameters

This
IUIAdaptivePresentationControllerDelegate

The instance on which this extension method operates.

Returns

Attributes

Applies to

GetAdaptivePresentationStyle(IUIAdaptivePresentationControllerDelegate, UIPresentationController, UITraitCollection)

The presentation style to use for the specified controller and traitCollection.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 3, ObjCRuntime.PlatformArchitecture.All, null)]
public static UIKit.UIModalPresentationStyle GetAdaptivePresentationStyle (this UIKit.IUIAdaptivePresentationControllerDelegate This, UIKit.UIPresentationController controller, UIKit.UITraitCollection traitCollection);
static member GetAdaptivePresentationStyle : UIKit.IUIAdaptivePresentationControllerDelegate * UIKit.UIPresentationController * UIKit.UITraitCollection -> UIKit.UIModalPresentationStyle

Parameters

This
IUIAdaptivePresentationControllerDelegate

The instance on which this extension method operates.

traitCollection
UITraitCollection

Returns

Attributes

Applies to