【发布时间】:2018-07-26 19:03:45
【问题描述】:
我已将 passwordField 文本内容类型设置为 .password,但我的键盘没有显示钥匙锁图标。 :(
我使用的是 iOS 11.2。
untf.textContentType = .username
pwtf.textContentType = .password
请问有什么可能的原因?
【问题讨论】:
标签: ios iphone swift3 autofill
我已将 passwordField 文本内容类型设置为 .password,但我的键盘没有显示钥匙锁图标。 :(
我使用的是 iOS 11.2。
untf.textContentType = .username
pwtf.textContentType = .password
请问有什么可能的原因?
【问题讨论】:
标签: ios iphone swift3 autofill
我给自己找了个理由:
至少要添加一个密码才能显示钥匙锁图标。
设置 -> 帐户和密码 -> 应用和网站密码 -> 添加密码
【讨论】: