Insert the provided text and marks it to indicate that it is part of an active input session.
- iOS 3.2+
- Mac Catalyst 13.0+
- tvOS 9.0+
The text to be marked.
A range within
markedthat indicates the current selection. This range is always relative to
Setting marked text either replaces the existing marked text or, if none is present, inserts it in place of the current selection.