react on incoming sms on an iPhone(对 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 使用特定关键字向用户#2 发送短信,可能是 &&XX&&
- 用户#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 上收到的短信做出反应的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:对 iPhone 上收到的短信做出反应
基础教程推荐
- navigationItem.backBarButtonItem 不工作?为什么上一个菜单仍然显示为按钮? 2022-01-01
- Xcode UIView.init(frame:) 只能在主线程中使用 2022-01-01
- 如何比较两个 NSDate:哪个是最近的? 2022-01-01
- iOS - UINavigationController 添加多个正确的项目? 2022-01-01
- 如何将图像从一项活动发送到另一项活动? 2022-01-01
- Android Volley - 如何动画图像加载? 2022-01-01
- Play 商店的设备兼容性问题 2022-01-01
- 为什么姜饼模拟器方向卡在应用程序中? 2022-01-01
- UIImage 在开始时不适合 UIScrollView 2022-01-01
- SwiftUI-ScrollViewReader的ScrollTo不滚动 2022-01-01
