Reputation: 2448
I have a simple question, I have a UITextField (made from IB), and I would like it not to empty (become "") on click, when it gets focus. I cant find the setting, what/where is it?
Upvotes: 3
Views: 1211
Reputation: 170829
In IB there's "Clear when editing begins" checkbox for this setting.
Or you can set it in code setting clearsOnBeginEditing
property to the corresponding value.
Upvotes: 8