iOS10:当 secureTextEntry 时,UITextfield 因长输入而挂起
iOS10: UITextfield hangs with long input when secureTextEntry
UITextfield
和 secureTextEntry
的奇怪行为。
平台:iOS10
iPhone(设备)和模拟器。
当 secureTextEntry
打开时,UITextfield
因大于键盘宽度的长输入而挂起。键盘按下的键保持弹出状态。
看起来这是 iOS10 中来自 Apple 的 SDK 中的错误。
我已经通过禁用 Adjust to Fit for password field 解决了这个问题,(根据:
)
是的,这是一个错误。
错误如下:
An app can freeze when a user types a large password into a textfield that tries to scale down the text to fit.
检查它:https://openradar.appspot.com/28590124
可能的解决方案:
禁用以适合 password/secured 字段。
- change the secure password character in UITextfield
- Secure UITextField text change to (*) asterisk character
这终于在 iOS 10.2 中得到修复!!
iOS 10.0.2 中存在错误...https://openradar.appspot.com/28590124
我已通过禁用“调整以适合密码”字段来解决此问题,但这是比修复更多的解决方法。
此错误已在 10.2 中修复
UITextfield
和 secureTextEntry
的奇怪行为。
平台:iOS10
iPhone(设备)和模拟器。
当 secureTextEntry
打开时,UITextfield
因大于键盘宽度的长输入而挂起。键盘按下的键保持弹出状态。
看起来这是 iOS10 中来自 Apple 的 SDK 中的错误。 我已经通过禁用 Adjust to Fit for password field 解决了这个问题,(根据:
是的,这是一个错误。
错误如下:
An app can freeze when a user types a large password into a textfield that tries to scale down the text to fit.
检查它:https://openradar.appspot.com/28590124
可能的解决方案: 禁用以适合 password/secured 字段。
- change the secure password character in UITextfield
- Secure UITextField text change to (*) asterisk character
这终于在 iOS 10.2 中得到修复!!
iOS 10.0.2 中存在错误...https://openradar.appspot.com/28590124
我已通过禁用“调整以适合密码”字段来解决此问题,但这是比修复更多的解决方法。
此错误已在 10.2 中修复