I have a UITextField
that I\'m forcing formatting on by modifying the text inside the change notification handler. This works great (once I solved the reentranc
I don't think there is a way to place the cursor at a particular place in your UITextField
(unless you got very tricky and simulated a touch event). Instead, I'd handle formatting when the user has finished editing their text (in textFieldShouldEndEditing:
) and if their entry is incorrect, don't allow the text field to finish editing.