从 Mobile Safari 获取 iPhone UDID [英] Get an iPhone UDID from Mobile Safari

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

问题描述

我想在 mobile safari 中获得一个 iphone UDID,我按照这个 从 Mobile Safari 获取 iPhone UDID,但是,我怀疑我们是否与苹果服务器进行交互(例如:向苹果服务器发送一些数据或从苹果服务器获取一些数据)上面文章中提到的步骤.

<块引用>

  1. 他们点击指向您网站上的 .mobileconfig XML 文件的链接
  2. 这会在他们的手机上调出他们的配置设置提供他们一个安装"按钮(他们必须按下)
  3. 手机将以加密的 XML 格式将您请求的数据发送到 URL您在 .mobileconfig 中设置
  4. 您处理结果数据 &向他们展示谢谢"网页

解决方案

当您通过问题中提到的上述方法从设备检索 UUID 时,Apple Server 不起作用.

您可以通过创建一个热点并将您的手机和提供 .mobileconfig 文件的服务器连接到该热点来检查这一点.在您的手机上安装配置文件,它会将响应发送回 .mobileconfig 文件中提到的 URL.

提示:您必须在安装 .mobileconfig 文件之前安装信任证书.

I wanna get an iphone UDID in mobile safari,and I follow this Getting an iPhone UDID from Mobile Safari, however, I doubt whether we do interactions with apple's server(ex: send some data to apple's server or get some data from apple's server ) during the steps mentioned in above article.

  1. They click a link to a .mobileconfig XML file on your website
  2. This pulls up their provisioning settings on their phone & offers them an 'Install' button (which they must press)
  3. The phone sends the data you requested in encrypted XML to the URL you set in your .mobileconfig
  4. You process the resulting data & show them a "thank you" web page

解决方案

Apple Server plays no role while you retrieve the UUID from the device by the above method mentioned in your question.

You can check this by creating a hotspot and connect both your phone and the server which serve the .mobileconfig file to the hotspot. install the provision file on your phone and it will send back the response to the URL mentioned in the .mobileconfig file.

tip: you have to install trust certificate before installing the .mobileconfig file.

这篇关于从 Mobile Safari 获取 iPhone UDID的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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