How to you select a text field
I have a table view with two rows, both of which have UITextFields
in them. I also added the UITextFieldDelegate
protocol and the -(BOOL)textFieldShouldReturn:(UITextField *)textField
method to the table view controller file.
I can detect when the return key is pressed on the first text field, but how do I make it automatically move 开发者_开发百科to the second text field?
[textField becomeFirstResponder];
精彩评论