selectionWillChange(_:)
Tells the input delegate when the selection is about to change in the document.
Declaration
func selectionWillChange(_ textInput: (any UITextInput)?)Parameters
- textInput:
The document instance whose class adopts the UITextInput protocol.