quickType 栏上的自动填充密码键盘按键锁定图标未显示 - iOS? - 已设置 textContentType = .password?

Autofill password keyboard key lock icon on quickType bar is not showing up - iOS? - have set textContentType = .password?

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

我正在使用 iOS 11.2.

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

请问可能是什么原因?

我给自己找了个理由:

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

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