摘要:
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{ for (UIView *view_ in [self.view subviews]) { if ([view_ isKindOfClass:[UITextField class]]) { UITextField *tf = (UITextField *)view_; [tf resignFirstResponder]; } }} 阅读全文