共用方式為


UIPresentationController.AdaptivePresentationStyle 方法

定義

多載

AdaptivePresentationStyle()

取得應用程式大小變更時要使用的簡報樣式。

AdaptivePresentationStyle(UITraitCollection)

取得與 UIModalPresentationStyle 相關聯的 。

AdaptivePresentationStyle()

取得應用程式大小變更時要使用的簡報樣式。

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

傳回

屬性

適用於

AdaptivePresentationStyle(UITraitCollection)

取得與 UIModalPresentationStyle 相關聯的 。

[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

參數

traitCollection
UITraitCollection

傳回

屬性

適用於