<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "tvOS: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIDynamicAnimatorDelegate",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(pl)UIDynamicAnimatorDelegate"
  },
  "title" : "UIDynamicAnimatorDelegate"
}
-->

# UIDynamicAnimatorDelegate

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

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

## Topics

### Responding to animation pausing and resumption

[`dynamicAnimatorDidPause(_:)`](/documentation/UIKit/UIDynamicAnimatorDelegate/dynamicAnimatorDidPause(_:))

Called when a dynamic animator pauses the animations for its behaviors’ associated dynamic items.

[`dynamicAnimatorWillResume(_:)`](/documentation/UIKit/UIDynamicAnimatorDelegate/dynamicAnimatorWillResume(_:))

Called when a dynamic animator is about to resume the animations for its behaviors’ associated dynamic items.



---

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)