是否可以在iOS中检测设备的电话号码? [英] Is it possible to detect a phone number of the device in iOS?

查看:93
本文介绍了是否可以在iOS中检测设备的电话号码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的数据库中有很多客户的电话号码信息以及他们的个人资料.

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

我打算做的是,一旦该应用程序运行,iPhone就会在我的数据库中搜索匹配的电话号码及其客户的资料.并在屏幕上显示客户资料.

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.

问题是..我被告知,iOS 4.x之前允许这样做,但在该版本之后不再允许:S我仍然可以访问设备信息并获取其编号吗?如果是,怎么办?

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?

推荐答案

不是. iTunes商店不会接受它.您做了您的研究,这就是它的结局.获得它的唯一方法是,要求用户在应用程序首次运行期间输入电话号码,并可能与您已经拥有的数据库进行交叉核对.

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.

这篇关于是否可以在iOS中检测设备的电话号码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆