Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
504 views
in Technique[技术] by (71.8m points)

ios - Get an iPhone UDID from Mobile Safari

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
See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

The only useful reason I can think of for having someone's UDID outside of an app would be for a beta distribution service, in which case you're almost certainly better off using a platform such as Testflight/Apple Beta or Installr (personally, I find Installr far easier to use and provision devices than Apple/Testflight).

If that is what you're trying to do, definitely give Installr a shot - it can connect to your Apple account and automatically provision devices, I've used it to send several betas or private builds to non-technical people and its by far been the easiest set up process.

Otherwise, mikep is right, it's iffy territory and I think Apple would disapprove of it / users are highly unlikely to accept the mobileconfig file anyway

Installr


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...