Editar

Compartilhar via


UIViewController.ModalPresentationStyle Property

Definition

The UIModalPresentationStyle to be used when presenting UIViewControllers.

public virtual UIKit.UIModalPresentationStyle ModalPresentationStyle { [Foundation.Export("modalPresentationStyle", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)] get; [Foundation.Export("setModalPresentationStyle:", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)] set; }
member this.ModalPresentationStyle : UIKit.UIModalPresentationStyle with get, set

Property Value

The default value is FullScreen.

Attributes

Remarks

iPhones and iTouches should always use FullScreen. iPads may use any value.

Applies to

See also