UITextField 封锁键盘

UITextField 关闭键盘UITextField tftf.delegate self//实现重写了textFieldShouldReturn:方法-(BOOL)

UITextField 关闭键盘

UITextField tf;tf.delegate = self;//实现重写了textFieldShouldReturn:方法-(BOOL)textFieldShouldReturn:(UITextField *)textField{    [textField resignFirstResponder];    return YES;}