Enumeration Case

UIModalPresentationFormSheet

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

Declaration

UIModalPresentationFormSheet

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 centered on the screen. The actual dimensions are smaller than those of the UIModalPresentationPageSheet presentation style, and 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 UIModalPresentationFullScreen.

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

See Also

Presentations

UIModalPresentationAutomatic

The default presentation style chosen by the system.

Beta
UIModalPresentationNone

A presentation style that indicates no adaptations should be made.

UIModalPresentationFullScreen

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

UIModalPresentationPageSheet

A presentation style that partially covers the underlying content.

UIModalPresentationCurrentContext

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

UIModalPresentationCustom

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

UIModalPresentationOverFullScreen

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

UIModalPresentationOverCurrentContext

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

UIModalPresentationPopover

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

UIModalPresentationBlurOverFullScreen

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