Enumeration Case

UITextDropProposal.Action.replaceSelection

A text drop action style specifying that if the target text view contains a selection, dropped text replaces it.

Declaration

case replaceSelection = 1

Discussion

If the text view does not contain a selection, dropped text is inserted at the provided location, without altering the surrounding text.

See Also

Text Drop Actions

case insert

A text drop action style specifying that text is inserted at the provided location, without altering the surrounding text.

case replaceAll

A text drop action style specifying that the dropped text replaces all text in the target text view.