Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to detect a phone number of the device in iOS?

I have bunch of customers' phone number information with their profile in my database.

What I'm planning to do is that an iPhone searches for matching phone number and its customer's profile in my database as soon as the application runs. And it displays the customer profile on the screen.

The problem is.. I was told that iOS 4.x allowed this before... but not anymore after that version :S Can I still access to the device information and get its number? If yes, how?

like image 801
Raccoon Avatar asked Oct 19 '25 07:10

Raccoon


1 Answers

Nope. Not in a way it would be accepted by the iTunes store. You did your research and it is where it ends. The only way you can get it is by asking the user to enter the phone number during the app's first run and probably cross check it with the database you already have.

like image 176
Ravi Avatar answered Oct 20 '25 20:10

Ravi



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!