UITextDropProposal.Action.replaceSelection
A text drop action style specifying that if the target text view contains a selection, dropped text replaces it.
Declaration
case replaceSelectionDiscussion
If the text view does not contain a selection, dropped text is inserted at the provided location, without altering the surrounding text.