<!--
{
  "availability" : [
    "iOS: 18.2.0 -",
    "iPadOS: 18.2.0 -",
    "macCatalyst: 18.2.0 -",
    "visionOS: 2.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIWritingToolsCoordinator/TextReplacementReason/interactive",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@E@UIWritingToolsCoordinatorTextReplacementReason@UIWritingToolsCoordinatorTextReplacementReasonInteractive"
  },
  "title" : "UIWritingToolsCoordinator.TextReplacementReason.interactive"
}
-->

# UIWritingToolsCoordinator.TextReplacementReason.interactive

An option to animate the replacement of text in your view.

```
case interactive
```

## Discussion

When Writing Tools requests an interactive change in your delegate’s
`UIWritingToolsCoordinator/Delegate/writingToolsCoordinator(_:replaceRange:inContext:proposedText:reason:animationParameters:completion:)`
method, it passes a valid set of animation parameters to that method.
Update your view’s text storage and use the provided [`UIWritingToolsCoordinator.AnimationParameters`](/documentation/UIKit/UIWritingToolsCoordinator/AnimationParameters)
type to create any view-specific animations you need to support the
animated replacement of the text.

---

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)