I have an UITextField constructed using the storyboard. I want to not allow the user to change the position of the cursor and keep it always at the end of the text into the
If you are interested in always keeping your cursor at the end of the text, do this:
override func closestPosition(to point: CGPoint) -> UITextPosition? { return self.endOfDocument }