I can add a small cross button that is used to clear all the text in a single click in a UITextField with the following code.
UITextField
textField.clearBut
You can use textFieldShouldClear: delegate method to handle when user taps on clear button.
textFieldShouldClear: