---
title: "interruptibleAnimator(using:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/uiviewcontrolleranimatedtransitioning/interruptibleanimator(using:)"
---

# interruptibleAnimator(using:)

Returns the interruptible animator to use during the transition.

## Declaration

```swift
optional func interruptibleAnimator(using transitionContext: any UIViewControllerContextTransitioning) -> any UIViewImplicitlyAnimating
```

## Parameters

- `transitionContext`: The context object containing information to use during the transition.

## Return Value

Return Value An animator object that supports the modification of its running animations.

## Discussion

Discussion Implement this method when you want to perform your transitions using an interruptible animator object, such as a UIViewPropertyAnimator object. You must return the same animator object for the duration of the transition.
