问题
Possible Duplicate:
Programmatically get own phone number in iPhone OS
Is it still impossible to get user's phonenumber in iOS and have your app accepted to appStore like they say in this thread: Programmatically get own phone number in iOS ? I hope that something's changed since then.
What are the good alternatives?
回答1:
No is not possible to get phone number by code.
but you can always ask the user their phone number using a model window..
回答2:
Still not possible. For good reasons.
来源:https://stackoverflow.com/questions/6055091/is-it-possible-to-get-iphones-phone-number-programmatically-in-2011