Reputation: 2630
As far as I can tell, I can only get the entire address book, but there is no way to know which (if any) contact is the contact information for the owner of the phone, i.e. the phone # of the phone itself.
Is there any way to accomplish this? Perhaps by triangulating some data the SDK makes available?
Upvotes: 0
Views: 252
Reputation: 21013
Try this...
CFShow([[NSUserDefaults standardUserDefaults] objectForKey:@"SBFormattedPhoneNumber"]);
Upvotes: 1