Contents

selectionContainerViewAboveText

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

Declaration

optional var selectionContainerViewAboveText: UIView? { get }

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