---
title: selectionContainerViewAboveText
framework: browserenginekit
role: symbol
role_heading: Instance Property
path: browserenginekit/betextinput/selectioncontainerviewabovetext
---

# selectionContainerViewAboveText

An optional view you supply to draw text selection above the text.

## Declaration

```swift
optional var selectionContainerViewAboveText: UIView? { get }
```

## Discussion

Discussion The default value is nil. If you supply a view to this property, the framework layers the supplied view above textInputView to render text selection above the text, and includes text-selection handles in the rendering. If you implement text selection using a textInputView subview instead, leave the value nil.

## See Also

### Managing selection views

- [selectionContainerViewBelowText](browserenginekit/betextinput/selectioncontainerviewbelowtext.md)
