I have a selection list to select a day and a text box to show the selected date. It will be so ...

If I choose any date, it will be so ...

The cross character in the text box receives the code ....
textField.clearButtonMode=UITextFieldViewModeAlways;
Now my problem is that when I click on this cross button, the keyboard is displayed. What is it like....

But I want the button to cross only erasing the text field. The keyboard should not appear. Is it possible?
Rajkanth
source
share