Christian Stewart
Christian Stewart

Reputation: 15519

iPhone Keyboard Next Button

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

Upvotes: 2

Views: 4000

Answers (1)

Aaron Saunders
Aaron Saunders

Reputation: 33345

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;
}

Upvotes: 5

Related Questions