如何从iphone sdk中从呼叫中心返回的呼叫的callID(呼叫标识符)中获取电话号码?
我曾尝试使用 coreTelephony.framework 获取呼叫状态和呼叫标识符。并且需要获取来电的电话号码。是否可以使用 CallID 获取电话号码。如果是这样,任何人都可以建议我示例代码。
任何人的帮助将不胜感激。
感谢大家, 莫尼什.
I had tried to get the call status and call Identifier of a call using coreTelephony.framework.And Need to get the phone number of the incoming call.Is it possible to get the phone number using the CallID.If so can anyone suggest me with sample code.
Anyone's help will be deeply appreciated.
Thanks to all,
Monish.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
callID 仅用于区分多个活动的蜂窝呼叫。无法从中获取号码。
callID is simply used to differentiate multiple active cellular calls. It is not possible to get the number from this.
您无法通过核心电话框架获取带有呼叫 ID 的电话号码。但我知道一种可以获取此问题答案中给出的电话号码的方式。看到这个链接
相同
you can not get phone number with call id by core telephony frame work. But i know a way form which you can get phone number that is given in this question's answer. see this link
same