How Can We Read Incoming SMS by using Application in iOS

二次信任 提交于 2019-11-27 14:06:39
Buntylm

Simply two words from Apple:

Not Possible

Detailed:

An iOS app can only access the data for which Apple supplies a documented public API. iOS can not access outside of the sandbox until Apple provides a public API for it. So intercepting/reading an incoming SMS not possible. And no idea when the iOS device is jailbroken.

Retro

No it's not possible in iOS, it's possible on jailbroken devices but you can not place your application in the App Store.

From Apple Documentation :

To ensure your text input view displays the right AutoFill suggestions, set the textContentType property on any relevant input views.

so you can do the following :

textField.textContentType = .oneTimeCode

More info : check the link here

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!