---
title: handleViews
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uitextselectiondisplayinteraction/handleviews
---

# handleViews

The view that draws the selection handles for the selected text.

## Declaration

```swift
var handleViews: [any UIView & UITextSelectionHandleView] { get set }
```

## Mentioned in

Adopting system selection UI in custom text views

## Discussion

Discussion When you install the interaction on your text input view, the system installs two views in this property that provide the standard system appearance for the selection handles. You can replace these views with custom ones you provide to change the appearance of the selection handles. important: When assigning a value to this property, you must provide exactly two views. One view provides the leading selection handle and the other provides the trailing selection handle.

## See Also

### Getting the system selection views

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