TextEdit field input hangs on iOS10

2020-04-06 01:07发布

问题:

Im experiencing very odd issue on iOS10 since rebuilding my few apps. Every time i input more characters then it fits on screen in UITextField app just freeze and exactly nothing happens, there is no single error in debugger just frozen. After few minutes app crashes with memory issue.

Message from debugger: Terminated due to memory issue

I think it's something messed up with sizeToFit related to UITextField, as far i remember if text does not fits entirely in UITextField it gets smaller and then moves left. Anyway issue happens only with secureTextEntry = true as it's password field. Apple messed up again with sdk, does anyone have any idea for workaround or better, fix on this?

回答1:

I have resolved it with disabling Adjust to Fit for password field, but this is more workaround than fix.



回答2:

This has been fixed in iOS 10.2!