密码确认文本字段的自动填充类型

时间:2019-03-11 21:14:45

标签: ios swift autofill

我有一个包含三个文本字段的屏幕

  1. 临时密码;我使用`.oneTimeCode,因为它将被填充 来自短信的代码
  2. 新密码;我使用了.password,因为它将充满 钥匙串中的密码
  3. 确认密码,我尝试了所有类型,但是我的问题出现在下面

1和2成功,并且自动填充效果很好,但是第3个,当我使用自动填充并从钥匙串中选择密码时,结果进入文本字段2,并删除了之前的文本。

  1. This Image shows you the screen I made
  2. This Video will show you what I mean, I used autofill to fill 2nd text field and it was filled with right text but when I used autofill in 3rd text field it also filled the 2nd text fields and replaced test in it

0 个答案:

没有答案