Swift Blogs Skip to main content

Posts

Showing posts from December, 2018

Security Code AutoFill(One Time Password): Swift 4.2

Overview Hello Everyone, Hope you doing well and having a fantastic day. Apple introduces one cool new feature in iOS 12 is OTP ( One Time Password ) a security code autofill. This article teaches how to implement security code autofill in the easiest way. Storyboard: Go ahead drag UITextField on ViewController . Security Code AutoFill(One Time Password): Swift 4.2 Click on textField and open attribute inspector in that change content type to One Time Code . Security Code AutoFill(One Time Password): Swift 4.2 That's it, we have successfully implemented  One Time Code verification functionality to our application. Just run the application in your device. Here is Result Security Code AutoFill(One Time Password): Swift 4.2 Note: Security code autoFill will work only with the native keyword. Feel free to share and comment.