阅读 71

去掉键盘的方式

  • [UIApplication.sharedApplication sendAction:@selector(resignFirstResponder) to:nil from:nil forEvent:nil];
  • - (BOOL)resignFirstResponder;
  • - (BOOL)endEditing:(BOOL)force;
  • UIScrollView => UIScrollViewKeyboardDismissMode => UIScrollViewKeyboardDismissModeOnDrag