Reputation: 65145
Am I able to get the user's mobile number of the iPhone device? (of cause without asking the user for this information)
Upvotes: 1
Views: 1072
Reputation:
You could try to look it up in the address book if you know who the user is. Otherwise, yeah, the easiest thing to do is ask the user to enter it and store it as a preference.
Upvotes: 0
Reputation: 185681
No. Apple's APIs do not provide access to this information. What's more, attempting to get this information without asking the user is generally considered a huge breach of privacy.
Upvotes: 3