<!--
{
  "availability" : [
    "iOS: 17.4.0 -",
    "iPadOS: 17.4.0 -",
    "macCatalyst: 17.4.0 -",
    "tvOS: 17.4.0 -",
    "visionOS: 1.1.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UITextCursorDropPositionAnimator/animate(alongsideChanges:completion:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UITextCursorDropPositionAnimator(im)animateAlongsideChanges:completion:"
  },
  "title" : "animate(alongsideChanges:completion:)"
}
-->

# animate(alongsideChanges:completion:)

Optionally, provide an animation block or completion block to run alongside cursor appearance or position update animations.

```
func animate(alongsideChanges animation: (() -> Void)?, completion: (() -> Void)? = nil)
```

```
func animate(alongsideChanges animation: (() -> Void)?) async
```

---

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)