UIViewController.ModalPresentationStyle Property

Definition

The UIModalPresentationStyle to be used when presenting UIViewControllers.

[get: Foundation.Export("modalPresentationStyle", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)]
[set: Foundation.Export("setModalPresentationStyle:", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)]
public virtual UIKit.UIModalPresentationStyle ModalPresentationStyle { get; 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