providesPresentationContextTransitionStyle
A Boolean value that indicates whether the view controller specifies the transition style for view controllers it presents.
Declaration
var providesPresentationContextTransitionStyle: Bool { get set }Discussion
When a view controller’s definesPresentationContext property is true, it can replace the transition style of the presented view controller with its own. When the value of this property to true, 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 false, UIKit uses the transition style of the presented view controller. The default value of this property is false.
See Also
Presenting a view controller
show(_:sender:)showDetailViewController(_:sender:)UIViewController.ShowDetailTargetDidChangeMessagepresent(_:animated:completion:)dismiss(animated:completion:)modalPresentationStyleUIModalPresentationStylemodalTransitionStyleUIModalTransitionStyleisModalInPresentationdefinesPresentationContextdisablesAutomaticKeyboardDismissalshowDetailTargetDidChangeNotification