---
title: "interactionDidEnd(_:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/uitextinteractiondelegate/interactiondidend(_:)"
---

# interactionDidEnd(_:)

Tells the delegate that the text interaction ended.

## Declaration

```swift
optional func interactionDidEnd(_ interaction: UITextInteraction)
```

## Parameters

- `interaction`: The text interaction that called this method.

## See Also

### Handling text interaction events

- [interactionShouldBegin(_:at:)](uikit/uitextinteractiondelegate/interactionshouldbegin(_:at:).md)
- [interactionWillBegin(_:)](uikit/uitextinteractiondelegate/interactionwillbegin(_:).md)
