简体   繁体   English

iphone阅读传入的短信

[英]iphone Read incoming SMS message

I would like to know whether we can read the incoming SMS message in iPhone . 我想知道我们是否可以在iPhone中阅读传入的SMS消息。
If any new SMS message arrives I want to open it through my app . 如果有任何新的SMS消息到达,我想通过我的应用程序将其打开。

Can you suggest any solution? 您能提出任何解决方案吗?

抱歉,无法在iOS中使用

iPhone does not have any API hooks into the SMS stack. iPhone在SMS堆栈中没有任何API挂钩。 There is, however, a sqlite style database that you can read with the information inside. 但是,有一个sqlite样式数据库,您可以读取其中的信息。 If the phone is jailbroken it can be accessed. 如果手机越狱,则可以访问它。

No, on a non-jailbroken phone, you cannot get any data on SMS messages or phone calls. 不可以,在没有越狱的电话上,您无法从SMS消息或电话中获取任何数据。 They are entirely walled off from your application. 它们与您的应用程序完全隔离。

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

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