- UITextField *textName;
- UITextField *textSummary;
-
- -(BOOL)textFieldShouldReturn:(UITextField *)textField
- {
- [textField resignFirstResponder];
- return YES;
- }
- - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
- {
- [self.textName resignFirstResponder];
- [self.textSummary resignFirstResponder];
- }
IOS成长之路-去掉屏幕键盘的方法,布布扣,bubuko.com
IOS成长之路-去掉屏幕键盘的方法
原文:http://www.cnblogs.com/wlcc/p/3906880.html