I have a signUpViewController
that allows users to sign up with a username & password.
I need to be able to check in real time the input that the user has added to the usernameTextField
I am currently checking it's input by implementing the following delegate method:
- (void)textFieldDidEndEditing:(UITextField *)textField
{
}
However, this only checks after the user has left the textfield, I am then able to check with my server to see if the username already exist or not. This is not giving me the desired behavior I am seeking, I want users to know right away if they name they are typing is available or not (this is the what users have come to expect from other apps).
I have reviewed the UITextField
documentation but can't find a delegate method that will do the work I am looking for, any ideas as to what I can do to get the desired behavior?