使用 HTML5/jQuery 从 iPhone 获取用户编号 [英] Get users number from iPhone using HTML5/jQuery

查看:23
本文介绍了使用 HTML5/jQuery 从 iPhone 获取用户编号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有使用 HTML5/jQuery 获取 iPhone 用户电话号码的方法?

Is there a method for getting the iPhone users phone number using HTML5/jQuery?

我所看到的只是如何使用 SDK 做到这一点.

All I see is how to do this with the SDK.

到目前为止,我发现的唯一一件事是在初始安装时询问用户他们的号码并存储它.

So far the only thing I've found is on the initial install ask the user for their number and store it.

推荐答案

我很确定这是不可能的.想象一下,如果任何网站都可以检索每个访问者的电话号码,这将代表安全/隐私漏洞.

I am pretty sure, that this is not possible. Imagine the security/privacy breach it would represent if any site could just retrieve the phone number of each visitor.

如果您正在开发 HTML5 &例如,您可以使用带有 PhoneGap 的 JS 应用程序,使用相应的 API:http:///docs.phonegap.com/en/1.0.0/phonegap_contacts_contacts.md.html

If you are developing a HTML5 & JS app with PhoneGap for example you can, using the according API: http://docs.phonegap.com/en/1.0.0/phonegap_contacts_contacts.md.html

这篇关于使用 HTML5/jQuery 从 iPhone 获取用户编号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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