使用Core电话的iPhone手机号码 [英] iPhone mobile number using Core telephony

查看:110
本文介绍了使用Core电话的iPhone手机号码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

据我了解,iPhone SDK中没有公共API可用于查找用户的手机号码。



我们可以使用4.0 SDK中添加的核心电话框架找到iPhone用户的手机号码吗?

解决方案

不,CoreTelephony框架提供了有关运营商的一些基本信息和有关呼叫的有限信息,而不是其他。



有限的信息包括例如当前活动呼叫的数量,呼叫ID(不是移动电话号码,只是操作系统用来跟踪特定呼叫的唯一ID)和呼叫状态,例如呼叫是否处于保持状态。 / p>

CallTelephony的主要功能是用于检查运营商是否允许通过3G进行VoIP的API。


As far as my understanding, there is no public API available in iPhone SDK to find the users mobile number.

Can we find the mobile number of iPhone user using the Core telephony framework added in 4.0 SDK?

解决方案

No, the CoreTelephony framework provides some basic information about the carrier and limited info about calls, not much else.

The limited information includes things like the amount of current active calls, the call ID (not a mobile number, just a unique ID that the OS uses to track the particular call) and the state of a call, like whether the call is on hold or not.

The main feature in CallTelephony is an API to check whether or not a carrier allows VoIP over 3G.

这篇关于使用Core电话的iPhone手机号码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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