The range of text that is currently marked in a document.
- iOS 3.2+
- Mac Catalyst 13.0+
- tvOS 9.0+
If there is no marked text, the value of the property is
nil. Marked text is provisionally inserted text that requires user confirmation; it occurs in multistage text input. The current selection, which can be a caret or an extended range, always occurs within the marked text.