cursorView
The view that draws the caret at the text insertion point.
Declaration
var cursorView: any UIView & UITextCursorView { 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 appearance for the caret at the insertion point. You can replace this view with a custom one you provide to change the appearance of the caret.