iOS自定义数字键盘 使用简单 适配iPhone6/6PLUS self.keyBoardTF.inputView = [[WSNumberKeyBoard alloc] initWithControlTextField:self.keyBoardTF ReturnButtonName:nil andClickBlock:^(UITextField *textField) { NSLog(@"textFieldNumber:%@",textField); [textField resignFirstResponder]; }];