It is not possible to access your mobile SMS in iOS for some security reasons but if you want that feature you can implement below things:

-You can get your verification code according to mobile number from server side.
-generate URL scheme of your app in link. (like deep link)
-Click on notification and get the number in appdelegate method(

func application(application: UIApplication, openURL url: NSURL, sourceApplication: String?,
    annotation: AnyObject?) -> Bool

)
-set number in your application

You may also like

Leave a Reply