如果此短信包含特定消息,如何检测收到的短信并将短信发送到启动我的应用程序的号码。请建议我如何检测到在我的应用未运行时收到新消息。
最佳答案
简单的答案是在 iOS 设备(非越狱)中不可能您无法获取有关短信或电话的任何数据,所以最好的方法是停止战斗用它。不确定,但可以通过越狱设备实现。
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.
关于ios - 在 iOS 中检测带有特定文本的传入短信,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21793885/