UIKit.UIViewController.ModalPresentationStyle Property
The UIKit.UIModalPresentationStyle to be used when presenting UIKit.UIViewControllers.

Syntax

[ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_3_2)]
[get: Foundation.Export("modalPresentationStyle")]
[get: ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_3_2)]
[set: Foundation.Export("setModalPresentationStyle:")]
[set: ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_3_2)]
public virtual UIModalPresentationStyle ModalPresentationStyle { get; set; }

See Also

UIModalPresentationStyle

Value

The default value is UIModalPresentationStyle.FullScreen.

Remarks

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

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0