开发者

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 ph开发者_如何学Pythonone, i.e. the phone # of the phone itself.

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


Try this...

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

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜