Compartilhar via


UIPresentationController.AdaptivePresentationStyle Método

Definição

Sobrecargas

AdaptivePresentationStyle()

Obtém o estilo de apresentação a ser usado quando o aplicativo muda de tamanho.

AdaptivePresentationStyle(UITraitCollection)

Obtém o UIModalPresentationStyle associado ao .

AdaptivePresentationStyle()

Obtém o estilo de apresentação a ser usado quando o aplicativo muda de tamanho.

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

Retornos

Atributos

Aplica-se a

AdaptivePresentationStyle(UITraitCollection)

Obtém o UIModalPresentationStyle associado ao .

[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

Parâmetros

traitCollection
UITraitCollection

Retornos

Atributos

Aplica-se a