开发者

Is it possible to read the iPhone phone number out of the settings?

开发者 https://www.devze.com 2022-12-25 19:38 出处:网络
I would like to pre-populate a UITextfield with th开发者_JAVA百科e phone number of the current iPhone device. Can that be done?I doubt it and I certainly hope not.Imagine that I download an app and it

I would like to pre-populate a UITextfield with th开发者_JAVA百科e phone number of the current iPhone device. Can that be done?


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/


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


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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号