Enumeration Case

UIModalPresentationAutomatic

The default presentation style chosen by the system.

Declaration

UIModalPresentationAutomatic = -2

Discussion

For most view controllers, UIKit maps this style to the UIModalPresentationPageSheet style, but some system view controllers may map it to a different style.

See Also

Presentations

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.

UIModalPresentationFormSheet

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

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.