---
title: presentationStyle
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uiviewcontrollertransitioncoordinatorcontext/presentationstyle
---

# presentationStyle

The presentation style to use for the transition.

## Declaration

```swift
var presentationStyle: UIModalPresentationStyle { get }
```

## Return Value

Return Value The modal presentation style associated with the transition or UIModalPresentationStyle.none if the transition is not a modal presentation or dismissal. For a list of possible values, see “Modal Presentation Styles” in UIViewController.

## Discussion

Discussion When presenting or dismissing a view controller modally, this method returns the presentation style used for that transition. For interface rotations and other events that don’t involve a specific transition between view controllers, this method returns UIModalPresentationStyle.none.

## See Also

### Getting the behavior attributes

- [transitionDuration](uikit/uiviewcontrollertransitioncoordinatorcontext/transitionduration.md)
- [completionCurve](uikit/uiviewcontrollertransitioncoordinatorcontext/completioncurve.md)
- [completionVelocity](uikit/uiviewcontrollertransitioncoordinatorcontext/completionvelocity.md)
- [percentComplete](uikit/uiviewcontrollertransitioncoordinatorcontext/percentcomplete.md)
