faceyspacey.com
faceyspacey.com

Reputation: 2630

Can you get the current user's phone # and contact details through the iPhone SDK?

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

Answers (1)

Chris Wagner
Chris Wagner

Reputation: 21013

Try this...

CFShow([[NSUserDefaults standardUserDefaults] objectForKey:@"SBFormattedPhoneNumber"]); 

Upvotes: 1

Related Questions