UIModalPresentationStyle Enum


An enumeration of values used by ModalPresentationStyle

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum UIModalPresentationStyle
type UIModalPresentationStyle = 


BlurOverFullScreen 8

Blur the previous content and then overlay the new content.

CurrentContext 3

The same UIModalPresentationStyle used by the view's parent UIViewController.

Custom 4

Managed by a custom animator and an optional interative controller.

FormSheet 2

Centered on and smaller than the screen.

FullScreen 0

A UIModalPresentationStyle that encompasses the whole screen.

None -1

A non-modal presentation or dismissal.

OverCurrentContext 6

Display the modal content over only the parent view controller's content area.

OverFullScreen 5

Display the modal content over the full screen on top of the current view hierarchy.

PageSheet 1

Set to the height and width of the screen in portrait orientation.

Popover 7

Display the modal content in a popover view for horizontally regular environments, and in full screen mode for horizontally compact environments.


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

Applies to