Possible Duplicate:
Programmatically get own phone number in iPhone OS
I want to get my own cell number in the app. Is there anyway to get it programmatically without taking input from user.
Possible Duplicate:
Programmatically get own phone number in iPhone OS
I want to get my own cell number in the app. Is there anyway to get it programmatically without taking input from user.
Luckily, there's no official way and your app will get rejected if you use one of the unofficial ways. Even if you think you have valid use case, it's a big privacy issue and the risk of abuse is too high so there is no official way to get the number. If your app or service needs this number to provide all the features you want to offer you need to ask the user to enter it into a textfield (and thus giving him a chance to deny you this information).