1

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?

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62
DixieFlatline
  • 7,895
  • 24
  • 95
  • 147
  • 3
    FYI: Going the `NSUserDefault` route got us rejected from the app store about 2 years ago, and we were only using it to prefill a form. – Sam Dolan May 19 '11 at 07:26

2 Answers2

3

No is not possible to get phone number by code.

but you can always ask the user their phone number using a model window..

Saurabh
  • 22,743
  • 12
  • 84
  • 133
2

Still not possible. For good reasons.

JustSid
  • 25,168
  • 7
  • 79
  • 97