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

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

问题描述

有没有一种使用HTML5 / jQuery获取iPhone用户电话号码的方法?



我看到的是如何使用SDK来完成此操作。



编辑:



到目前为止,我发现的唯一一件事是在初始安装时询问用户的号码和商店它。

解决方案

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



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


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

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

EDIT:

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.

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天全站免登陆