0

I have a text field which I use in my app to enter verification codes from SMS, I did all the required to make it capture the verification codes automatically but it doesn't!! enter image description here

I did not use any codes for this any advices ?

Jacob
  • 121
  • 1
  • 8
  • Does your SMS text follow the following format? https://stackoverflow.com/a/57255825/5140621 – hessam Feb 04 '21 at 12:32

1 Answers1

0

Set the textContentType property to .oneTimeCode. Example

myTextField.textContentType = .oneTimeCode

Enabling Password AutoFill on a Text Input View