I updated my app from Xcode 7 to Xcode 8 and now I am facing a problem with my password input field.
When the password is longer than the provided field, my app freezes and starts to consume memory until it crashes.
Fun fact, it just happens when I set the text to "secure text".
My field is vertically centered and has a fixed width (not sure if thats imporant),
and when my password is longer than the number of characters, the input field can take (and where it should move to the left) I get the crash.
Did anybody experience smt like that?
(as I said I just updated to a newer XCode - running on a 10.0.2 real device, didnt have that problem on the old one ...)
Thanks,
Regards
Yes, it is a bug.
Bug is like :
An app can freeze when a user types a large password into a textfield that tries to scale down the text to fit.
Check it : https://openradar.appspot.com/28590124
Possible solution :
change the secure password character in UITextfield
Secure UITextField text change to (*) asterisk character
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With