标签:blog sp div on log ef bs as res
UITextFieldDelegate
键盘return事件
- (BOOL)textFieldShouldReturn:(UITextField *)textField { if (textField.tag == 1){ // do next // 光标 [self.passwordField becomeFirstResponder]; }else if (textField.tag == 2){ // do join [self login:nil]; } return YES; }
标签:blog sp div on log ef bs as res
原文地址:http://www.cnblogs.com/Hanasaka/p/4028310.html