I'm wondering if there is a way to have the UITextField clear button 'always visible'

textfield.clearButtonMode = UITextFieldViewModeAlways;

doesn't seem to work .. and if it is possible to dismiss the keyboard using the button?

Thanks in advance.

Edit
Report