Enumeration Case

UIModalPresentationStyle.formSheet

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

Declaration

case formSheet = 2

Discussion

In a horizontally regular environment, the view controller is sized so that its content area is smaller than the screen size and a dimming view is placed underneath the content. If the device is in a landscape orientation and the keyboard is visible, the position of the view is adjusted upward so that the view remains visible. All uncovered areas are dimmed to prevent the user from interacting with them.

In a horizontally compact environment, this option behaves the same as UIModalPresentationStyle.fullScreen.

See Also

Presentations

case automatic

A presentation style chosen by the system.

Beta
case fullScreen

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

case pageSheet

A presentation style that partially covers the underlying content.

case currentContext

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

case custom

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

case overFullScreen

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

case overCurrentContext

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

case blurOverFullScreen

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

case popover

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

case none

A presentation style that indicates no adaptations should be made.