<!--
{
  "availability" : [
    "iOS: 5.0.0 -",
    "iPadOS: 5.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIViewController/providesPresentationContextTransitionStyle",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIViewController(py)providesPresentationContextTransitionStyle"
  },
  "title" : "providesPresentationContextTransitionStyle"
}
-->

# providesPresentationContextTransitionStyle

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

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

## Discussion

When a view controller’s [`definesPresentationContext`](/documentation/UIKit/UIViewController/definesPresentationContext) property is <doc://com.apple.documentation/documentation/Swift/true>, it can replace the transition style of the presented view controller with its own. When the value of this property to <doc://com.apple.documentation/documentation/Swift/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 <doc://com.apple.documentation/documentation/Swift/false>, UIKit uses the transition style of the presented view controller. The default value of this property is <doc://com.apple.documentation/documentation/Swift/false>.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)