How to programmatically read incoming text messages on iOS

I want to read incoming text that my server will send which contains OTP, is there a way to read the text from incoming message and feed the OTP to the text field?

Replies

Your app is not allowed to see the contents (or even the occurrence of) SMS messages. It would be a security issue if third party apps could do so.

Hi wvdk.


Look at this:

https://itunes.apple.com/us/app/sms-backup-export-contacts-sms-or-messages/id1020562394?mt=8

https://itunes.apple.com/pl/app/export-sms-pro-text-exporter/id852209533?l=pl&mt=8


The Application can save backup of Messages and Contacts.

How does it do it?


It is very strange that a user can not consent to reading SMS by external applications as it is done on Android.


D.