简体   繁体   中英

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, ie the phone # of the phone itself.

Is there any way to accomplish this? Perhaps by triangulating some data the SDK makes available?

尝试这个...

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM