UIPresentationController.AdaptivePresentationStyle UIPresentationController.AdaptivePresentationStyle Method

Definition

Overloads

AdaptivePresentationStyle() AdaptivePresentationStyle()

Gets the presentation style to use when the app changes in size.

AdaptivePresentationStyle(UITraitCollection) AdaptivePresentationStyle(UITraitCollection)

Gets the UIModalPresentationStyle associated with the .

AdaptivePresentationStyle() AdaptivePresentationStyle()

Gets the presentation style to use when the app changes in size.

[Foundation.Export("adaptivePresentationStyle")]
public virtual UIKit.UIModalPresentationStyle AdaptivePresentationStyle ();
abstract member AdaptivePresentationStyle : unit -> UIKit.UIModalPresentationStyle
override this.AdaptivePresentationStyle : unit -> UIKit.UIModalPresentationStyle

Returns

AdaptivePresentationStyle(UITraitCollection) AdaptivePresentationStyle(UITraitCollection)

Gets the UIModalPresentationStyle associated with the .

[Foundation.Export("adaptivePresentationStyleForTraitCollection:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 3, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.UIModalPresentationStyle AdaptivePresentationStyle (UIKit.UITraitCollection traitCollection);
abstract member AdaptivePresentationStyle : UIKit.UITraitCollection -> UIKit.UIModalPresentationStyle
override this.AdaptivePresentationStyle : UIKit.UITraitCollection -> UIKit.UIModalPresentationStyle

Parameters

Returns

Applies to