Instance Property

providesPresentationContextTransitionStyle

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

Declaration

@property(nonatomic, assign) BOOL providesPresentationContextTransitionStyle;

Discussion

When a view controller’s definesPresentationContext property is YES, it can replace the transition style of the presented view controller with its own. When the value of this property to YES, the current view controller’s transition style is used instead of the style associated with the presented view controller. When the value of this property is NO, UIKit uses the transition style of the presented view controller. The default value of this property is NO.

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.

modalPresentationStyle

The presentation style for modally presented view controllers.

UIModalPresentationStyle

Modal presentation styles available when presenting view controllers.

modalTransitionStyle

The transition style to use when presenting the view controller.

UIModalTransitionStyle

Transition styles available when presenting view controllers.

modalInPresentation

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

Beta
definesPresentationContext

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.

disablesAutomaticKeyboardDismissal

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

UIViewControllerShowDetailTargetDidChangeNotification

Posted when a split view controller is expanded or collapsed.

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