对 iPhone 上收到的短信做出反应 [英] react on incoming sms on an iPhone

查看:18
本文介绍了对 iPhone 上收到的短信做出反应的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在研究了以编程方式读取传入短信的可能性后,我意识到这在标准 iPhone 上是不可能的.

After researching the possibility to read incoming sms programmatically i realize that it is not possible on a standard iPhone.

我正在研究一个应具有以下操作顺序的应用程序:

I am researching an application which should have the following sequence for action:

  1. 用户#1 使用特定关键字向用户#2 发送短信,可能是 &&XX&&
  2. 用户#2 收到短信并根据关键字触发某些内容

鉴于无法让手机自动对基于短信的按键进行操作,因此可以在收到短信并将短信作为输入时手动触发某些操作.

Given that it is not possible to get the phone to act on the sms-based keywork automatically it may be possible to trigger something manually when the sms is received and us the sms as input.

我的问题是,如果有人知道什么是可能的或/以及以最简单的方式使用短信作为输入的最佳方法是什么.

My question is if someone have any ideas what is possible or/and what the best method would be to use the sms as input in the simplest possible way.

推荐答案

不,在未越狱的手机上,您无法获取短信或电话的任何数据.它们与您的应用程序完全隔离.

No, on a non-jailbroken phone, you cannot get any data on SMS messages or phone calls. They are entirely walled off from your application.

这篇关于对 iPhone 上收到的短信做出反应的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆