如何在 iOS 中监听传入的 sms 事件 [英] How to listen for incoming sms event in iOS

查看:53
本文介绍了如何在 iOS 中监听传入的 sms 事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有任何可以添加观察者的 ios 示例,以便我可以开发一个可以识别传入 sms/mms/email 事件的应用程序?

Is there any example for ios that I can add observer so that I can develop an app that is aware of incoming sms/mms/email event?

推荐答案

iOS 中没有公共 API,但有私有 API.如果您使用私有 API,那么您的应用将不会得到 Apple 的批准.

There is no public API for that in iOS but there are private API for that. If you use private API then your app will not get approved by Apple.

如果您想使用私有 API,那么这里有一个有用的解决方案.http://tech.ruimaninfo.com/?p=83

If you want to use private API then here is one useful solution for that. http://tech.ruimaninfo.com/?p=83

解决方案有点旧,因此您需要检查它是否适用于当前的 iOS 版本.它适用于 iOS 6.

Solution is bit old so you will need to check if it works in current iOS versions. It was working in iOS 6.

这篇关于如何在 iOS 中监听传入的 sms 事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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