How do I use the next button (the done button) in the bottom left of the keyboard on the iPh开发者_运维百科one?
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;
}
精彩评论