selectPosition(at:completionHandler:)
Sets the selection caret to the given point.
Declaration
func selectPosition(at point: CGPoint, completionHandler: @escaping @Sendable () -> Void)func selectPosition(at point: CGPoint) asyncParameters
- point:
The caret’s new location in the text view.
- completionHandler:
A closure that you call when the text view handles the gesture.