macOS 10.14 Mojave and iOS 12, automatic input of personal identification number via text message

When you sign up as a member, you verify your identity with your mobile phone. The verification code comes as a text message, and it is entered into the site.

With Mac and iPhone, you can send and receive iPhone messages on Mac as well.


Automatically finds and fills out mobile phone identification text messages


After updating to macOS 10.14, I tried to sign up for the library site, but when I received a text message to verify my identity and clicked on the authentication number input window, I found the authentication number in the message as shown below. When you click on it, the verification code is filled in.



Twitter also requires you to enter your mobile phone verification code when logging in. When I clicked on the verification code input window, a list of verification codes that I had received through text messages was displayed.

Usually, when entering the verification code on a Mac, the text of the verification code is also notified on the Mac, so I check and enter it directly on the Mac without looking at the iPhone.

However, after updating to Mojave, there is no need to do so, and you can automatically find the verification code in the text and click it.


Security code autofill function


It is a security code autofill feature added in Mojave and iOS 12.

It is a function that finds and automatically completes one-time passwords sent as text messages.


It works in iOS 12 too.

Mojave one-time password
(image source)


During WWWDC 2018 session Automatic Strong Passwords and Security Code AutoFill There is an introductory video on



Easy to use even as a function


I thought it was inconvenient, but I only thought of the authentication system as to how to solve this, but it seems that I did not think of such a method. The certification system is beyond the scope of what I can do, and it is the realm of industry standards or non-industry standards.

This isn't the first time character parsing has been done.

Android allows you to parse characters. So, the Android account book app provides methods such as parsing the text from the card company and automatically recording it in the account book. I think I started planning the Naver Household Book Android app only after I found out that there is a way for an app to parse text on Android.

iOS is still at 12.0, but it doesn't provide this method, and even though Mac is 10.14, Apple only has access to text messages. The call opened the caller number and blocked number. From iOS 9, the ABAddressBook framework is deprecated and replaced with the CNContact framework.

Anyway, it was a problem that I couldn't even start thinking about how to solve it, but Apple's auto-complete function for one-time captcha seems to have solved the user's troublesome problem a little.

It seems that we need to think not only about changing the fundamentals, but also reducing the hassle in terms of the user's UI.



1 If you like the article, please click the heart~ It will be a strength to bloggers (SNS/login/advertising is not related)

Articles you might like

Contact map: customer management on the map
Contacts at a glance on the map, location-based contact management, view nearby contacts

Add a Comment

Email addresses are not disclosed. Required items *is indicated by

This posting is part of Coupang Partners' activities, and a certain amount of commission is provided accordingly.