resetSelection() Removes a person’s text selection from the interface. Declaration@MainActor final func resetSelection() See AlsoManaging text selectionselectedRanges