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

# delegate

A delegate that provides a container view to manage the system-supplied selection views.

## Declaration

```swift
weak var delegate: (any UITextSelectionDisplayInteractionDelegate)? { get }
```

## Discussion

Discussion Provide a delegate object if your UI displays selection highlights below your text input view. The delegate provides the container view for the system to use when adding the selection-related views.

## See Also

### Managing the drawing view

- [UITextSelectionDisplayInteractionDelegate](uikit/uitextselectiondisplayinteractiondelegate.md)
