Is there a way to make the cursor be at the start of a UITextField?
When I display the control with content, the cursor is placed at the end of the string. I\'d lik
UITextField conforms to the UITextInput protocol, which provides methods that let you control the selected range. This works in my testing:
-(void)textFieldDidBeginEditing:(UITextField *)textField {
textField.selectedTextRange = [textField
textRangeFromPosition:textField.beginningOfDocument
toPosition:textField.beginningOfDocument];
}