TextEdit field input hangs on iOS10

给你一囗甜甜゛ 提交于 2019-12-01 17:24:11

问题


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!



来源:https://stackoverflow.com/questions/39591770/textedit-field-input-hangs-on-ios10

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!