---
title: providesPresentationContextTransitionStyle
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uiviewcontroller/providespresentationcontexttransitionstyle
---

# providesPresentationContextTransitionStyle

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

## Declaration

```swift
var providesPresentationContextTransitionStyle: Bool { get set }
```

## Discussion

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:)](uikit/uiviewcontroller/show(_:sender:).md)
- [showDetailViewController(_:sender:)](uikit/uiviewcontroller/showdetailviewcontroller(_:sender:).md)
- [UIViewController.ShowDetailTargetDidChangeMessage](uikit/uiviewcontroller/showdetailtargetdidchangemessage.md)
- [present(_:animated:completion:)](uikit/uiviewcontroller/present(_:animated:completion:).md)
- [dismiss(animated:completion:)](uikit/uiviewcontroller/dismiss(animated:completion:).md)
- [modalPresentationStyle](uikit/uiviewcontroller/modalpresentationstyle.md)
- [UIModalPresentationStyle](uikit/uimodalpresentationstyle.md)
- [modalTransitionStyle](uikit/uiviewcontroller/modaltransitionstyle.md)
- [UIModalTransitionStyle](uikit/uimodaltransitionstyle.md)
- [isModalInPresentation](uikit/uiviewcontroller/ismodalinpresentation.md)
- [definesPresentationContext](uikit/uiviewcontroller/definespresentationcontext.md)
- [disablesAutomaticKeyboardDismissal](uikit/uiviewcontroller/disablesautomatickeyboarddismissal.md)
- [showDetailTargetDidChangeNotification](uikit/uiviewcontroller/showdetailtargetdidchangenotification.md)
