Possible Duplicate:
Programmatically get own phone number in iPhone OS
I am developing an iOS 4.1 application that need to get the phone number of the user. I have tried the blow code to get the phone number. But it is not working.
NSString *num = [[NSUserDefaults standardUserDefaults] stringForKey:@"SBFormattedPhoneNumber"];
is there any way to get the phone number in iOS 4.1 ?
Thanks, Shinto