---
title: UITextSelectionDisplayInteraction
framework: uikit
role: symbol
role_heading: Class
path: uikit/uitextselectiondisplayinteraction
---

# UITextSelectionDisplayInteraction

An object that provides the system UI for displaying text selection.

## Declaration

```swift
@MainActor class UITextSelectionDisplayInteraction
```

## Mentioned in

Adopting system selection UI in custom text views

## Overview

Overview note: Session 10058: What’s new with text and text interactions

## Topics

### Creating a text selection display interaction

- [init(textInput:delegate:)](uikit/uitextselectiondisplayinteraction/init(textinput:delegate:).md)

### Managing the drawing view

- [delegate](uikit/uitextselectiondisplayinteraction/delegate.md)
- [UITextSelectionDisplayInteractionDelegate](uikit/uitextselectiondisplayinteractiondelegate.md)

### Activating the selection UI

- [isActivated](uikit/uitextselectiondisplayinteraction/isactivated.md)

### Reporting changes to the selection

- [setNeedsSelectionUpdate()](uikit/uitextselectiondisplayinteraction/setneedsselectionupdate().md)
- [layoutManagedSubviews()](uikit/uitextselectiondisplayinteraction/layoutmanagedsubviews().md)

### Getting the text input view

- [textInput](uikit/uitextselectiondisplayinteraction/textinput.md)

### Getting the system selection views

- [highlightView](uikit/uitextselectiondisplayinteraction/highlightview.md)
- [handleViews](uikit/uitextselectiondisplayinteraction/handleviews.md)
- [cursorView](uikit/uitextselectiondisplayinteraction/cursorview.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [Sendable](swift/sendable.md)
- [UIInteraction](uikit/uiinteraction.md)

## See Also

### Custom text selection

- [Adopting system selection UI in custom text views](uikit/adopting-system-selection-ui-in-custom-text-views.md)
- [UITextSelectionHighlightView](uikit/uitextselectionhighlightview.md)
- [UITextSelectionHandleView](uikit/uitextselectionhandleview.md)
- [UITextCursorView](uikit/uitextcursorview.md)
- [UIStandardTextCursorView](uikit/uistandardtextcursorview.md)
- [UITextCursorDropPositionAnimator](uikit/uitextcursordroppositionanimator.md)
- [UITextLoupeSession](uikit/uitextloupesession.md)
