---
title: "removeInteraction(_:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/uiview/removeinteraction(_:)"
---

# removeInteraction(_:)

Removes an interaction from the view.

## Declaration

```swift
func removeInteraction(_ interaction: any UIInteraction)
```

## Parameters

- `interaction`: The interaction object to remove from the view.

## See Also

### Adding and removing interactions

- [addInteraction(_:)](uikit/uiview/addinteraction(_:).md)
- [interactions](uikit/uiview/interactions.md)
- [UIInteraction](uikit/uiinteraction.md)
