我们如何使用iOS中的应用程序读取传入的SMS [英] How Can We Read Incoming SMS by using Application in iOS

查看:198
本文介绍了我们如何使用iOS中的应用程序读取传入的SMS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的应用程序中,当用户单击提交按钮时,我能够以编程方式将SMS发送到特定的手机号码。然后有一个来自该手机号码的响应消息,我现在想要阅读该消息并将该SMS文本填充到我的应用程序中。

In my application I am able to send an SMS programatically to a particular mobile number when the user clicks submit button. Then there is a response message from that mobile number now I want to read that message and populate that SMS text in to my application.

我搜索了这个并发现这个在iOS中无法实现。
我的问题是否有可能访问带有用户权限的收件箱短信?

I searched for this and found that this is not possible in iOS. My question is there any possibility accessing inbox SMS with user permissions?

推荐答案

只需两句话来自Apple:

Simply two words from Apple:


不可能

Not Possible

详细信息:

iOS应用只能访问Apple提供文档化公共API的数据。在Apple为其提供公共API之前,iOS无法访问沙箱外部。因此无法拦截/读取传入的短信。并且不知道iOS设备什么时候越狱。

An iOS app can only access the data for which Apple supplies a documented public API. iOS can not access outside of the sandbox until Apple provides a public API for it. So intercepting/reading an incoming SMS not possible. And no idea when the iOS device is jailbroken.

这篇关于我们如何使用iOS中的应用程序读取传入的SMS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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