将UITextField光标移动到最后
UITextPosition *position = [textField endOfDocument];
textField.selectedTextRange = [textField textRangeFromPosition:position toPosition:position];
将UITextField光标移动到最后
UITextPosition *position = [textField endOfDocument];
textField.selectedTextRange = [textField textRangeFromPosition:position toPosition:position];