2012-07-04 08:31提问者: 匿名
|
浏览次数:624次
查了一下,网上说:The phone number is not accessable from any Apple public API which means you can't get it.也就是公有API不支持,那么想要上appStore的应用就没办法获得了吗?
按默认排序|按时间排序
回答 共1条
[[NSUserDefaults standardUserDefaults] objectForKey:@"SBFormattedPhoneNumber"]; 这个可以获取到用户设置在手机里面的本机号码,如果用户没设置,那么SIM卡上的信息是没法获取的