UIAdaptivePresentationControllerDelegate.GetAdaptivePresentationStyle Method
Definition
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.
Overloads
| Name | Description |
|---|---|
| GetAdaptivePresentationStyle(UIPresentationController) |
Returns the new presentation style to use after a change to the |
| GetAdaptivePresentationStyle(UIPresentationController, UITraitCollection) |
The presentation style to use for the specified |
GetAdaptivePresentationStyle(UIPresentationController)
Returns the new presentation style to use after a change to the forPresentationController.
[Foundation.Export("adaptivePresentationStyleForPresentationController:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual UIKit.UIModalPresentationStyle GetAdaptivePresentationStyle(UIKit.UIPresentationController forPresentationController);
[<Foundation.Export("adaptivePresentationStyleForPresentationController:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetAdaptivePresentationStyle : UIKit.UIPresentationController -> UIKit.UIModalPresentationStyle
override this.GetAdaptivePresentationStyle : UIKit.UIPresentationController -> UIKit.UIModalPresentationStyle
Parameters
- forPresentationController
- UIPresentationController
Returns
Implements
- Attributes
Applies to
GetAdaptivePresentationStyle(UIPresentationController, UITraitCollection)
The presentation style to use for the specified controller and traitCollection.
[Foundation.Export("adaptivePresentationStyleForPresentationController:traitCollection:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual UIKit.UIModalPresentationStyle GetAdaptivePresentationStyle(UIKit.UIPresentationController controller, UIKit.UITraitCollection traitCollection);
[<Foundation.Export("adaptivePresentationStyleForPresentationController:traitCollection:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetAdaptivePresentationStyle : UIKit.UIPresentationController * UIKit.UITraitCollection -> UIKit.UIModalPresentationStyle
override this.GetAdaptivePresentationStyle : UIKit.UIPresentationController * UIKit.UITraitCollection -> UIKit.UIModalPresentationStyle
Parameters
- controller
- UIPresentationController
- traitCollection
- UITraitCollection
Returns
Implements
- Attributes