Programmatically get own Phone Number in iPhone OS 4.0

流过昼夜 提交于 2019-12-01 10:44:55

If you're targeting jailbroken phones, you might take a look at the CoreTelephony framework. I don't often work with private APIs, so no guarantees this particular framework makes the phone number available to you, but you might get lucky.

Officially, it's not supported, nor is it recommended to get the user's personal information programmatically.

Also, the SDK does not yet provide any mechanism to work with information in the SIM.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!