Enumeration Case

UIModalPresentationStyle.pageSheet

A presentation style that partially covers the underlying content.

Declaration

case pageSheet = 1

Discussion

In a horizontally and vertically regular environment, this option adds a dimming layer over the background content and displays the view controller's content with roughly page-sized dimensions, where the height is greater than the width. The actual dimensions vary according to the device's screen size and orientation, but a portion of the underlying content always remains visible.

In a vertically regular, but horizontally compact environment, this option displays a sheet interface, where a portion of the underlying content remains visible near the top of the screen.

In a vertically compact environment, this option is essentially the same as UIModalPresentationStyle.fullScreen.

In cases where the underlying content remains visible, the presenting view controller doesn't receive the viewWillDisappear(_:) and viewDidDisappear(_:) callbacks.

See Also

Presentations

case automatic

The default presentation style chosen by the system.

Beta
case none

A presentation style that indicates no adaptations should be made.

case fullScreen

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

case formSheet

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

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 popover

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

case blurOverFullScreen

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

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software