A presentation style that displays the content centered in the screen.
- iOS 3.2+
- Mac Catalyst 13.0+
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
UIModal 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