使用iPhone接收短信通知 [英] Receive Notification for SMS using iPhone

查看:140
本文介绍了使用iPhone接收短信通知的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在谷歌搜索一段时间,也许我不是说的正确,因为我不是一个专业的iPhone开发人员,但我想知道的是,如果有某种通知或系统事件我正在开发的iPhone应用程序可以钩入,当一个文本消息到达我的手机时,它会被提高。我不需要能够读取消息。我只需要知道一条短信在我的手机上到达。如果可能,我想获得发送邮件的人的电话号码。这是可能的在Objective-C / Cocoa?

解决方案

不,你不能这样做与公共的iOS API。 / p>

I have been searching for this on Google for a while and maybe I'm not wording it right because I'm not an expert iPhone developer, but what I'm wondering is if there is some kind of notification or system event that my iPhone application I'm developing can "hook into" that will get raised whenever a text message arrives on my phone. I don't need to be able to read the message. I just need to know when a text message has arrive on my phone. If possible, I'd like to be able to get the phone number of the person sending the message. Is this possible in Objective-C/Cocoa?

解决方案

No, you can't do this with the public iOS APIs.

这篇关于使用iPhone接收短信通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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