hello all i am working with multiple uitextfields.i have a problem in cursor placing while changing firstResponder. i would like to do "Cursor placement in 2nd field once we entered the 3rd character in the 1st field." but the cursor stays in 3rd place.here i am restricting my first text field length to 3.
Asked
Active
Viewed 400 times
1 Answers
1
This SO answer should help you. You set up notifications to be issued when the first text field state changes, firing a method that checks the text field's length. If firstTextField.text.length
is equal to three characters, call [secondTextField becomeFirstResponder]
.

Community
- 1
- 1

Alex Reynolds
- 95,983
- 54
- 240
- 345
-
But it is working in isolated project.When i combine this to my project its not working.why? – venkat May 04 '10 at 09:39
-
k its solved friend.i forget to call the awakeFromNib in my viewDidLoad.Thank u very much for the quick response – venkat May 04 '10 at 10:21
-
If you found this answer helpful, please press the ✔ next to it. – Emil Jun 24 '10 at 09:07