Instance Property


The transition style to use when presenting the view controller.


@property(nonatomic, assign) UIModalTransitionStyle modalTransitionStyle;


This property determines how the view controller'€™s is animated onscreen when it is presented using the presentViewController:animated:completion: method. To change the transition type, you must set this property before presenting the view controller. The default value for this property is UIModalTransitionStyleCoverVertical.

For a list of possible transition styles, and their compatibility with the available presentation styles, see the UIModalTransitionStyle constant descriptions.

See Also

Presenting a View Controller

- 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.


The presentation style for modally presented view controllers.


Modal presentation styles available when presenting view controllers.


Transition styles available when presenting view controllers.


A Boolean value indicating whether the view controller enforces a modal behavior.


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.


Posted when a split view controller is expanded or collapsed.