when Uitextfiled editing, press return button on numberpad deleting single char, once keyboard dismiss view.endediting(true) and again focus, click delete(return) button deleting all the text. i need only one char should delete. it is securedtextfield
Asked
Active
Viewed 54 times
0
-
Could you please add more info or code ? – Dinesh May 09 '22 at 05:16
-
1I think you have enabled "Secure text entry" function in your UITextField, So It will automatically delete all the characters on the next becomeFirstResponder on it. And this is by default features for the password field. So i think we can't modify it. – vipul thummar May 09 '22 at 06:10
-
Does this answer your question? [UITextField with secure entry, always getting cleared before editing](https://stackoverflow.com/questions/7305538/uitextfield-with-secure-entry-always-getting-cleared-before-editing) – lazarevzubov May 09 '22 at 06:15
-
@lazarevzubov - yes – iosDev May 09 '22 at 12:46