Friday, April 29, 2011

How to find the own phone number in Iphone

NSString *phoneNumber = [[NSUserDefaults standardUserDefaults]
stringForKey:@"SBFormattedPhoneNumber"];
 
NSLog(@"Phone Number: %@", phoneNumber);

No comments:

Post a Comment