I have 5 UITextFields added to the form. One of the text files is for entering a date of birth. Therefore, when this particular text field is touched instead of displaying the default keyboard, the date picker should be displayed.
I tried the following:
- (void)textFieldDidBeginEditing:(UITextField *)textField{
[textField resignFirstResponder];
[self showDatePicker];
}
when this function is called datepicker, it is displayed along with the date selection, the default keyboard is also displayed and hides the date. I do not know how to get rid of the default keyboard for this particular text file. Please help me.
source
share