I'm trying to be clever with my app.
I have 5 UITextField
objects stacked on top of each other. I want the user to be able to enter stuff in the first UITextField
and then press 'Next' on the keypad and have focus move to the next UITextField
.
My strategy for this was to have an array of UITextField
objects and when TextFieldOnEditingDidEnd
gets called, I would call 'BecomeFirstResponder()
' on the text field that appears AFTER the currently selected UITextField.
This strategy works fine on ios 7.x, however, it causes a STACK OVERFLOW in ios 6.
So, I am wondering if the fact that I call 'BecomeFirstResponder()
' is forcing TextFieldOnEditDidEnd()
to be called on the text field that I just made into the first responder.
Does anybody have any idea if the call to BecomeFirstResponder()
forces a call on TextFieldOnEditDidEnd()
? Also, did this behavior change from iOS 6.x to iOS 7.x?
THANKS