ModalPresentationStyle
public enum ModalPresentationStyle
Modal presentation styles available when presenting view controllers.
-
The default presentation style chosen by the system.
Declaration
Swift
case `default`
-
A presentation style in which the presented view covers the screen.
Declaration
Swift
case fullScreen
-
A presentation style that partially covers the underlying content.
Declaration
Swift
case pageSheet
-
A presentation style that displays the content centered in the screen.
Declaration
Swift
case formSheet
-
A presentation style where the content is displayed over another view controller’s content.
Declaration
Swift
case currentContext
-
A custom view presentation style that is managed by a custom presentation controller and one or more custom animator objects.
Declaration
Swift
case custom
-
A view presentation style in which the presented view covers the screen.
Declaration
Swift
case overFullScreen
-
A presentation style where the content is displayed over another view controller’s content.
Declaration
Swift
case overCurrentContext
-
A presentation style where the content is displayed in a popover view.
Declaration
Swift
case popover
-
The default presentation style chosen by the system.
Declaration
Swift
case automatic