关于UIView中的endEditing:的使用 @interface UIView (UITextField)- (BOOL)endEditing:(BOOL)force; // use to make the view or any subview that is the first responder resign (optionally force)@end