Programmatically get own Phone Number in iPhone OS 4.0

后端 未结 2 1726
春和景丽
春和景丽 2021-01-15 10:05

I am developing an iPhone application for jail broken phones and in this application I would like to fetch user\'s phone number.

I have gone through the entire stack

2条回答
  •  北荒
    北荒 (楼主)
    2021-01-15 10:50

    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.

提交回复
热议问题