【问题标题】:Autofill password keyboard key lock icon on quickType bar is not showing up - iOS? - have set textContentType = .password?quickType 栏上的自动填充密码键盘键锁图标未显示 - iOS? - 已设置 textContentType = .password?
【发布时间】:2018-07-26 19:03:45
【问题描述】:

我已将 passwordField 文本内容类型设置为 .password,但我的键盘没有显示钥匙锁图标。 :(

我使用的是 iOS 11.2。

untf.textContentType = .username
pwtf.textContentType = .password

请问有什么可能的原因?

【问题讨论】:

    标签: ios iphone swift3 autofill


    【解决方案1】:

    我给自己找了个理由:

    至少要添加一个密码才能显示钥匙锁图标。

    设置 -> 帐户和密码 -> 应用和网站密码 -> 添加密码

    【讨论】:

    • @Salmaan:尝试导入设置包。我没有对此进行任何尝试。但是试试看。
    猜你喜欢
    • 1970-01-01
    • 2022-08-24
    • 2023-03-03
    • 1970-01-01
    • 1970-01-01
    • 2020-02-27
    • 2011-06-12
    • 2020-02-09
    • 2016-08-21
    相关资源
    最近更新 更多