Contents

UITextViewDelegate

The methods for receiving editing-related messages for text view objects.

Declaration

@MainActor protocol UITextViewDelegate : UIScrollViewDelegate

Overview

All of the methods in this protocol are optional. You can use them in situations where you might want to adjust the text a user is editing (such as in the case of a spell-checker program) or to modify the intended insertion point.

Topics

Responding to editing notifications

Responding to text changes

Responding to selection changes

Interacting with text data

Providing a context menu

Customizing an edit menu

Responding to writing tools interactions

Inserting a Smart Reply suggestion

Deprecated

Instance Methods

See Also

Text actions and menus