An object that provides textual context to a custom keyboard.
- iOS 8.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
Through conformance to the
UIKey protocol, a text document proxy enables a custom keyboard (which is based on the
UIInput class) to insert and delete text, to adjust the position of the insertion point, and to determine whether a text input object is empty. The text document proxy uses the keyboard's
text property to do this.