Search code examples
iphonebuttoniphone-softkeyboard

iPhone Keyboard Next Button


How do I use the next button (the done button) in the bottom left of the keyboard on the iPhone?


Solution

  • if i understand the question.

    Here is solution


    Code snippit from link:

    - (BOOL)textFieldShouldReturn:(UITextField *)textField {
        if (textField == field1TextField) {
            [textField resignFirstResponder];
            [field2TextField becomeFirstResponder];
        } 
        else if (textField == field2TextField) {
            [textField resignFirstResponder];
            [field3TextField becomeFirstResponder];
        }
        else if (textField == field3TextField) {
            [textField resignFirstResponder];
        }
        return YES;
    }