Automatic OTP verification in iOS?

后端 未结 12 1247
遥遥无期
遥遥无期 2020-12-01 03:23

Is there any way to access data from iPhone inbox(SMS) to ios application to do automatic OTP verification like the one in Android? I shall be grateful for your help.

12条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-01 04:09

    It is also important that the text message you receive contains something with "code" like

    "your passcode is:123456"

    or

    "12345 is your code to log in"

    something along that line.

    NOT!

    Your App: 12345

    you can verify if the code in your text message will work with the .oneTimeCode type by tapping the underlined code in your message. If a dialog pops up that says "copy code", you are good to go. Otherwise you might need to change the text of your message.

提交回复
热议问题