How to hide default keyboard
问题 I have 5 UITextFields added on a form. One of the textfileds is for entering the date of birth. So when that particular textfield is touched instead of displaying the default keyboard, datepicker needs to be displayed. I tried the following: - (void)textFieldDidBeginEditing:(UITextField *)textField{ [textField resignFirstResponder]; [self showDatePicker];//this is my own function to display datepicker. } when this function is called the datepicker is displayed, along with the date picker the