开发者

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;

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜