只需要点击键盘的 return键 即可
- (IBAction)nameTextField_didendonexist:(id)sender
{
[self.psw becomeFirstResponder];
}
- (IBAction)pawTextField_didendonexist:(id)sender
{
[sender resignFirstResponder];
[self.loginBtbsendActionsForControlEvents:UIControlEventTouchUpInside];
}
- (IBAction)btnClick:(id)sender
{
NSLog(@"denglu");
}
时间: 2024-09-27 01:27:23