tags:

views:

233

answers:

1

If I set clearsOnBeginEditing and have a secure text field and if you lose focus on the field and come back again and start typing it will always clear the textfield. Does anyone have a way around this?

A: 

I've just had the same problem. I was changing the property from within the textFieldDidBeginEditing: call.

Moving the property change to the textFieldShouldBeginEditing: call fixed the problem.