Popular Science:UDID is a 40-string sequence of substrings and numbers that distinguishes each unique iOS device, including IPhones, IPads, and IPod touches
As Apple gets more and more strict in the program to get Udid, the private API has not got the information such as the Udid,mac address, and then the use of keychain with the UUID and so on is implemented in disguise
Due to the recent project requirements is the form of equipment licensing use of software, the use of keychain and other methods do not fully solve the problem, because the reset or redo system will clear the UUID and then deposit, so think of Safari way to get the device real Udid first look at the effect, the real machine open
Get device Udid First, get the iOS device via Apple Safari browser Udid steps
Apple allows developers to get the Udid of iOS devices (including some other parameters) through an operation between the iOS device and the Web server. Here's an overview:
1. Create a. mobileconfig XML format description file on your Web server;
2, the user must be completed by a click operation before all operations. Mobileconfig description file installation;
3, the server needs data, such as: UDID, need to be configured in the. Mobileconfig description file, and the server receives the data URL address;
4, when the user device to complete the data of the mobile phone, return prompts to the client user; Ii. MOBILECONIFG
In this article, I'll focus on how to get the identifier. You can actually get more information, and here's a sample of getting udid. Mobileconfig configuration
The
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 3 |
<!--Reference: https://developer.apple.com/library/ios/documentation/networkinginternet/conceptual/iph oneotaconfiguration/configurationprofileexamples/configurationprofileexamples.html-->;? XML version = "1.0" encoding = "UTF-8"?> <! DOCTYPE plist Public "-//apple//dtd plist 1.0//en" "Http://www.apple.com/DTDs/PropertyList-1.0.dtd" > < plist Version = "1.0" > <dict> <key > payloadcontent </key > <dict> & nbsp; |