有些时候在使用tableviewcell的时候,我们某一行也许是输入框,另一行也许是普通cell,所以在使用时,需要退下键盘时,我们会给tableview添加手势:
//添加点击手势
UITapGestureRecognizer *tapGesture = [[UITapGestureRecognizeralloc] initWithTarget:selfaction:@s
有些时候在使用tableviewcell的时候,我们某一行也许是输入框,另一行也许是普通cell,所以在使用时,需要退下键盘时,我们会给tableview添加手势:
//添加点击手势
UITapGestureRecognizer *tapGesture = [[UITapGestureRecognizeralloc] initWithTarget:selfaction:@s