Link Search Menu Expand Document

ModalPresentationStyle

Modal presentation styles available when presenting view controllers.

public enum ModalPresentationStyle: Int 

Inheritance

Int

Enumeration Cases

automatic

The default presentation style chosen by the system.

case automatic

none

A presentation style that indicates no adaptations should be made.

case none

fullScreen

A presentation style in which the presented view covers the screen.

case fullScreen

pageSheet

A presentation style that partially covers the underlying content.

case pageSheet

formSheet

A presentation style that displays the content centered in the screen.

case formSheet

currentContext

A presentation style where the content is displayed over another view controller’s content.

case currentContext

custom

A custom view presentation style that is managed by a custom presentation controller and one or more custom animator objects.

case custom

overFullScreen

A view presentation style in which the presented view covers the screen.

case overFullScreen

overCurrentContext

A presentation style where the content is displayed over another view controller’s content.

case overCurrentContext

popover

A presentation style where the content is displayed in a popover view.

case popover

blurOverFullScreen

A presentation style that blurs the underlying content before displaying new content in a full-screen presentation.

case blurOverFullScreen