Is there a clever way to let the user switch between hide and view password in an ios/iphone UITextField where the user can enter a password and would have the option of either hide it or view it.
thanks in advance.
Is there a clever way to let the user switch between hide and view
Share
Simply setting
wont work I think due to a bug (or a feature), if the textField has focus.
Use something like this to make it work also if the textField is currently firstResponder