11 Replies
      Latest reply on May 13, 2020 12:41 AM by diego.trevisan
      jobert.ava Level 1 Level 1 (0 points)

        On my app, I have a screen with a UITextField which should take the user's phone number.

        The following code has been working so far to enable the AutoFill of that field:

         

        public override func viewDidLoad() {
             super.viewDidLoad()
             txtPhoneNumber.textContentType = .telephoneNumber
        }

         

        ...up until I started testing with the iOS 13 beta.

        I checked the Safari AutoFill settings and I'm using the same contact as before.

        The AutoFill seems to work on some websites that have the phone field.

         

        I couldn't find anything that has changed from the docuemntation.

        Am I missing something new that should be implemented there in order to get it working?