1
votes

When editing a UITextView, Apple inserts the following edits for the user automatically

1) A ". " when a user double spaces after a word. 2) An extra space deleted when a whole word is a selected and deleted. EX "My string" with "string" selected and then delete key pressed makes just "My" instead of "My "

Is there any way to prevent or detect these? Especially the second one? The first one does register in textView shouldChangeTextInRange but the second on doesn't, so there is no relatively simple way to detect this.

1

1 Answers

0
votes

Set UITextView correction option to "No".

enter image description here