Detect incoming SMS with specific text in iOS

这一生的挚爱 提交于 2021-02-11 17:49:36

问题


How to detect received SMS and send SMS to that number launching my app if this sms contain specific message . Please suggest how i detect that a new messaqge received while my app is not running .


回答1:


Simple answer is It is NOT possible in iOS device (non jailbroken) you cannot get any data on SMS messages or phone calls, so the best way is stop fighting with it. Not sure but it may achieve by jailbroken device.

Apple said - In iPhone OS 4.0 and later, you can send text messages from within your application. This feature is strictly for sending messages. Incoming SMS messages go to the built-in Messages app.



来源:https://stackoverflow.com/questions/21793885/detect-incoming-sms-with-specific-text-in-ios

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