0

I would like to pre-populate a UITextfield with the phone number of the current iPhone device. Can that be done?

Jonathan Leffler
  • 730,956
  • 141
  • 904
  • 1,278
Christian Loncle
  • 1,584
  • 3
  • 20
  • 30

3 Answers3

0

I doubt it and I certainly hope not. Imagine that I download an app and it automatically transmits my phone number to a remote server.

Actually it looks like it might be/have been possible: http://www.alexcurylo.com/blog/2008/11/15/snippet-phone-number/

Andy E
  • 338,112
  • 86
  • 474
  • 445
0

It's possible but it's not going to be approved for App Store if you do it.

Jonathan Leffler
  • 730,956
  • 141
  • 904
  • 1,278
marcc
  • 12,295
  • 7
  • 49
  • 59
0

hmm just found this post. The answer is that it can be done but we are not supposed to do it...

Programmatically get own phone number in iOS

tnx for reading

Community
  • 1
  • 1
Christian Loncle
  • 1,584
  • 3
  • 20
  • 30