0

Possible Duplicate:
Programmatically get own phone number in iPhone OS

Hi, how i can get own phone number programmatically.

thanks in Advance

Tom smith

Community
  • 1
  • 1
Tom
  • 1
  • 2
  • @Eiko, not really a duplicate because the latest SDK has prevent apps from getting the phone number. App will now have to ask the user for that information. – Black Frog Apr 11 '11 at 12:01

1 Answers1

2

Not possible anymore since iOS 4. See SBFormattedPhoneNumber issue in iOS4.0 for additional information. For privacy reason, you need to ask the user for the device phone number.

Community
  • 1
  • 1
Jan Gressmann
  • 5,481
  • 4
  • 32
  • 26