Contents

highlightView

The view that draws the selection highlight behind the rendered text.

Declaration

var highlightView: any UIView & UITextSelectionHighlightView { get set }

Mentioned in

Discussion

When you install the interaction on your text input view, the system installs a view in this property that provides the standard system highlight appearance for selections. You can replace this view with a custom one you provide to change the appearance of selections.

See Also

Getting the system selection views