标签:
点击空白处退出键盘
1 -(void)touchesBegan:(nonnull NSSet<UITouch *> *)touches withEvent:(nullable UIEvent *)event{ 2 [self.view endEditing:YES]; 3 }
ios键盘退出
原文地址:http://www.cnblogs.com/Eazy/p/4836896.html