Username, Password and OTP autofill for iOS Apps for faster login 🤨🤪

Last month I went for an iOS dev meetup at Apple App Accelerator Bengaluru, India. There they discussed about many iOS features and best practices which we need to implement in our apps. Password autofill was one such feature. Here , I will explain what it is and how to do it.

Abhimuralidharan
5 min readDec 21, 2017

You might have seen the computer browsers like chrome and safari giving password suggestions and autofilling passwords. It was a real life saver for me. We don’t have to remember passwords for each and every websites out there on the internet. From iOS 11, autofill was introduced (watch WWDC video). Any control that confirms to UITextInput protocol like UITextField, UITextView can use this feature.

WWDC Video iOS 11: Introducing Password AutoFill for Apps

WWDC Video iOS 12: Automatic Strong Passwords and Security Code Autofill.

User data is saved in the users device and is synced to the iCloud keychain and will be available to all the devices using the same iCloud. ie; user’s other devices.

Apple does not have access to the credentials stored in Keychain, so users’…

--

--