UITextField Secure Text Entry memory Leak Issue

I have a username and password field for my users to login to the app. If secure text is enables on the password field when the text hits 14 characters the app freezes and the memory sky rockets to max before the app crashes and issues a memory warning. This seems to only happen on secure text entries as i turned it off and it was fine. Is there anyway around the issue. I can post my code if it is required>

Replies

I found the issue it was the font size of my text. For some reason if the font size is 20 and secure text is enabled when you reach 14 characters the app freezes. Can someone explain why this is happening or is it just an iOS bug that needs to be fixed.

Does it change if when you hide / show typed characters ?


Anyway, I think you should file a bug.

Yes it does if the characters are shown no crash occures. When characters are hiddne is the only time it happens.

First things first, you should see if this problem is specific to your app. Try putting the relevant bits of code into a small test project to see if the problem reproduces there.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"