本机UITextField安全文本输入会强制使用英语(美国)键盘 [英] Native UITextField Secure Text Entry forces English (US) keyboard

查看:351
本文介绍了本机UITextField安全文本输入会强制使用英语(美国)键盘的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个非常简单的登录页面(登录名和密码).

I have a very simple login page (login + password).

我的用户是法语,所以他们的键盘是法语(azerty).

My users are french, so their keyboard are French (azerty).

从iOS 12开始,当他们单击安全的密码文本字段时,即使他们的设备上未安装此键盘,键盘也会切换为英语(qwerty).而且,如果他们没有安装此键盘,他们将无法切换回他们的键盘.

Since iOS 12, when they click on the password textfield, which is secured, the keyboard switches to English (qwerty), even if they do not have this keyboard installed on their devices. Moreover, if they do not have this keyboard installed, they can't switch back to their keyboard.

我发现,如果我停用安全文本输入",则不会出现该问题.

I found out that if I deactivate Secure Text Entry, the problem does not show up.

我还尝试以编程方式设置isSecureTextEntry,并且该错误显示出来.

I also tried to set isSecureTextEntry programmatically, and the bug shows up.

我要添加两个屏幕截图,每个文本字段一个.

I am adding two screenshots, one for each text field.

非常感谢您的时间&帮助.

Thank you a lot for your time & help.

推荐答案

这确实是一个iOS错误=>在iOS 12.1中已得到纠正

This was truly an iOS bug => corrected in iOS 12.1

这篇关于本机UITextField安全文本输入会强制使用英语(美国)键盘的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆