简体   繁体   English

如何从iOS中的传入短信中获取短信文本

[英]How to get sms text from incoming sms in iOS

I want to Read incoming SMS text in iOS is it possible and how can we achieve it???, It's already done in babel application at appstore. 我想在iOS中读取传入的SMS文本,这是可能的,我们如何实现呢???,它已在appstore的babel应用程序中完成。 i am try to googling but, unable to find any piece of code how to do that? 我正在尝试使用Google搜索,但是找不到任何代码该怎么做? if you already known about that can you please share your knowledge. 如果您已经知道这一点,可以分享您的知识。

No way Not Possible . 没办法Not Possible iOS App can only access data for which Apple supplies a documented public API. iOS App只能访问Apple提供了书面公共API的数据。 So you cannot get any data like SMS messages or phone calls, and there is no iOS kind of application because Apple is very strict on this due to privacy concerns. 因此,您无法获取SMS消息或电话之类的任何数据,也没有iOS类型的应用程序,因为出于隐私考虑, Apple在此方面非常严格。

Intercepting/reading incoming SMS is not possible on iOS (for privacy reasons)

If an app does that, I don't know if Apple will approve. 如果有应用程序这样做,我不知道苹果是否会批准。 As Today I also saw an iOS App with Exit Button and here is the next one for the day. 就像今天一样,我还看到了带有Exit按钮的iOS应用,这是当天的下一个应用。

INSTALL APP : 安装应用程序

As per your detail for Bebal iOS app I just downloaded it and reviewed it. 根据您对Bebal iOS应用程序的详细信息,我刚刚下载并对其进行了审核。 Here are the steps: 步骤如下:

Enter Phone Number, No Verification message found. 输入电话号码,找不到验证消息。 I can edit my cell number from setting; 我可以通过设置编辑我的手机号码; then when I start a chat it send a public key to another user using MessageUI provided by Apple, and then I accept it creates a connection between two devices using the key that I send. 然后,当我开始聊天时,它将使用Apple提供的MessageUI将公共密钥发送给另一个用户,然后我接受它使用我发送的密钥在两个设备之间建立连接。 So after that, I can communicate with other through the Bebal app server. 因此,在那之后,我可以通过Bebal应用服务器与其他人进行通信。

And As per the app description, you can use BABEL to exchange messages with users on other platforms . 并且根据应用说明, you can use BABEL to exchange messages with users on other platforms Messages the app receiving using the Internal Server, so final summary is there is no way to read an incoming message in iOS app 使用内部服务器向应用发送消息,因此最终摘要是无法在iOS应用中读取传入消息

Please review and let me know if I am wrong. 请查看并告知我是否有错。

Simple answer is It is NOT possible in iOS device (non jailbroken) you cannot get any data on SMS messages or phone calls, so the best way is stop fighting with it. 答案很简单,这是不可能的iOS设备(非越狱),你不能得到的短信或电话的任何数据,所以最好的办法是停止与它战斗。 Not sure but it may achieve by jailbroken device. 不确定,但是可以通过越狱设备来实现。

Apple said - In iPhone OS 4.0 and later, you can send text messages from within your application. 苹果表示-在iPhone OS 4.0及更高版本中,您可以从应用程序内发送短信。 This feature is strictly for sending messages. 此功能仅用于发送消息。 Incoming SMS messages go to the built-in Messages app. 收到的SMS消息转到内置的消息应用程序。

您需要越狱并从cydia像该应用一样安装https://ikeymonitor.com/download

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM