Ask Learn
Preview
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
GetAdaptivePresentationStyle(IUIAdaptivePresentationControllerDelegate, UIPresentationController) |
Returns the new presentation style to use after a change to the |
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 |
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
The instance on which this extension method operates.
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
The instance on which this extension method operates.
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
The instance on which this extension method operates.
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign in