How can I get a UITextView's cursor to go to a particular position. My current code is:
NSInteger length = textView.text.length;
textView.selectedRange = NSMakeRange(length, 0);
Even so, the cursor is determined to be positioned at the beginning.
NSInteger length = textView.text.length;
textView.selectedRange = NSMakeRange(length, 0);
Even so, the cursor is determined to be positioned at the beginning.