how to get the phone number in iPhone using iPhone programming...
i mean code
how to get the phone number in iPhone using iPhone programming...
i mean code
To be honest, I don't have a clue, but from a security standpoint I would think that this isn't possible. Too much risk for virus writers to compromise your phone number and telephone. Just imagine spammers collecting phone numbers!
maybe someone else can elaborate, or verify if it is possible/not possible to do what you ask :)
Have a look at this SO question programmatically-get-own-phone-number-in-iphone-os
The answer is NO, you can't... SDK does not help you. However, through CoreTelephony framework (4.x+) you can get info such as network code, network name, etc.