---
title: transitionDuration
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uiviewcontrollertransitioncoordinatorcontext/transitionduration
---

# transitionDuration

Returns the noninteractive duration of a transition.

## Declaration

```swift
var transitionDuration: TimeInterval { get }
```

## Return Value

Return Value The expected duration, in seconds, of the view controller transition, if it proceeds noninteractively.

## Discussion

Discussion The transition duration defines the time for the main transition to finish. Use this value when configuring your own animations if you want them to end at the same time as the main transition.

## See Also

### Getting the behavior attributes

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