Contents

setNeedsSelectionUpdate()

Tells the system to update the selection UI to match the current selection state.

Declaration

func setNeedsSelectionUpdate()

Mentioned in

Discussion

When the selection state changes in your text input view, call this method to notify the system of the change. The system fetches the current selection state from your text input view and updates the system UI to match.

See Also

Reporting changes to the selection