How to put a auto delete option in a text field
I want to show gray circle with the white x in the right-side of the field which 开发者_如何学JAVAon click will delete the content of the textfield.
I got it. It can be done by setting following property: aTextField.clearButtonMode = UITextFieldViewModeAlways;
精彩评论