---
title: UIDynamicAnimatorDelegate
framework: uikit
role: symbol
role_heading: Protocol
path: uikit/uidynamicanimatordelegate
---

# UIDynamicAnimatorDelegate

To respond to the pausing or resumption of UIKit dynamic animation, configure a custom class to adopt the UIDynamicAnimatorDelegate protocol. Then, in a dynamic animator (an instance of the UIDynamicAnimator class), set the delegate to be an instance of your custom class.

## Declaration

```swift
@MainActor protocol UIDynamicAnimatorDelegate : NSObjectProtocol
```

## Topics

### Responding to animation pausing and resumption

- [dynamicAnimatorDidPause(_:)](uikit/uidynamicanimatordelegate/dynamicanimatordidpause(_:).md)
- [dynamicAnimatorWillResume(_:)](uikit/uidynamicanimatordelegate/dynamicanimatorwillresume(_:).md)

## Relationships

### Inherits From

- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Responding to animation changes

- [delegate](uikit/uidynamicanimator/delegate.md)
