简体   繁体   中英

Read UDID from Iphone with javascript on mobile safari

如何在手机游戏中使用javascript从Iphone读取UDID?

Update 2:

Since the site below is dead already, this discussion thread in apple.com's forum has the diagnosis and source code on how did that site retrieve the UDID thru mobileconfig.

https://discussions.apple.com/thread/3089948?start=0&tstart=0


Update : the site mentioned in this answer is no longer on-line; it's now just a placeholder full of ads. Leaving original message below for reference.


Open http://whatismyudid.com/ in your iOS device

it is possible through mobileconfig ( Over-the-Air Profile Delivery and Configuration )

http://whatismyudid.com/device/start <- download their mobileconfig and take a look

除非用户明确安装策略配置,否则它是不可能的,而且永远不会。

更简单,继续使用此URL并获取您的UDID http://www.easy-udid.com

I know it's an old post, but I just want to share an implementation of @powerj1984's solution in php and ready to use that I found here :

https://github.com/hunk/get-UDID

It worked for me.

As I said it's an implementation, refer to @powerj1984's solution for detailed explanation.

Hope it will helps someone.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM