Instance Property


The presentation style for modally presented view controllers.


@property(nonatomic, assign) UIModalPresentationStyle modalPresentationStyle;


The presentation style determines how a modally presented view controller is displayed onscreen. In a horizontally compact environment, modal view controllers are always presented full-screen. In a horizontally regular environment, there are several different presentation options. For a list of possible presentation styles, and their compatibility with the available transition styles, see the UIModalPresentationStyle constant descriptions.

See Also

Presenting View Controllers


The transition style to use when presenting the view controller.


A Boolean value indicating whether the view controller should be presented modally by a popover.

- showViewController:sender:

Presents a view controller in a primary context.

- showDetailViewController:sender:

Presents a view controller in a secondary (or detail)€ context.

- presentViewController:animated:completion:

Presents a view controller modally.

- dismissViewControllerAnimated:completion:

Dismisses the view controller that was presented modally by the view controller.


A Boolean value that indicates whether this view controller's view is covered when the view controller or one of its descendants presents a view controller.


A Boolean value that indicates whether the view controller specifies the transition style for view controllers it presents.


Returns a Boolean indicating whether the current input view is dismissed automatically when changing controls.