通过SDK获取本地iPhone号码 [英] Getting the local iPhone number through SDK

查看:102
本文介绍了通过SDK获取本地iPhone号码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找SDK API来从SIM卡中检索设备的本地电话号码
。有办法吗?

I am looking for a SDK API to retrieve the device's local phone number
from the SIM card. Is there a way to do it?

推荐答案

此方法是指激活时存储在iTunes中的号码......所以,不要使用它。从4.x开始,您可以利用CoreTelephony框架获取有关网络的许多信息,但仍然没有数字......

This method refers to the number stored in iTunes at time of activation... so, don't use it. From 4.x you can take advantage from CoreTelephony framework to get many information about the network, but still no number...

这篇关于通过SDK获取本地iPhone号码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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