退格
[self.textView deleteBackward];
在光标位置插入
UITextRange *textRange = self.textView.selectedTextRange; [self.textView replaceRange:textRange withText:@" Hello "];