对 iPhone 上收到的短信做出反应

2023-10-03移动开发问题
0

本文介绍了对 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 上收到的短信做出反应的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

The End

相关推荐

硬件音量按钮更改应用程序音量
Hardware Volume buttons change in app volume(硬件音量按钮更改应用程序音量)...
2024-08-12 移动开发问题
10

Cocos2d - 如何检查不同层中对象之间的交集
Cocos2d - How to check for Intersection between objects in different layers(Cocos2d - 如何检查不同层中对象之间的交集)...
2024-08-12 移动开发问题
8

突出显示朗读文本(在 iPhone 的故事书类型应用程序中)
Highlight Read-Along Text (in a storybook type app for iPhone)(突出显示朗读文本(在 iPhone 的故事书类型应用程序中))...
2024-08-12 移动开发问题
9

Cocos2D + 仅禁用 Retina iPad 图形
Cocos2D + Disabling only Retina iPad Graphics(Cocos2D + 仅禁用 Retina iPad 图形)...
2024-08-12 移动开发问题
10

正确的 cocos2d 场景重启?
Proper cocos2d scene restart?(正确的 cocos2d 场景重启?)...
2024-08-12 移动开发问题
7

[ios.cocos2d+box2d]如何禁用自动旋转?
[ios.cocos2d+box2d]how to disable auto-rotation?([ios.cocos2d+box2d]如何禁用自动旋转?)...
2024-08-12 移动开发问题
7