Comparison of the UDID solution on iOS platform, and the udid on ios platform
Apple disabled [UIDevice uniqueIdentifier] In iOS6, and blocked mac address retrieval in iOS7. No way. After all, people are the boss and say they won't let you use them.
Here, we will summarize some of the existing UDID acquisition methods (which are recommended by apple or a third party), with the aim of throwing bricks and failing to effectively describe which method is useful. Which method is used depends entirely on your own needs.
IOS2 ~ IOS7 existing technical solutions
System Support
After iOS6, Apple has disabled the uniqueIdentifier method of UIDevice. Therefore, the traditional UDID method is no longer available after iOS6. From iOS7, the method for obtaining MAC addresses returns 02: 00: 00: 00: 00: 00, so it is meaningless to use the MAC + MD5 method.
Persistence
Note:
√ Indicates that the persistence of the UDID can be ensured. × indicates that the UDID may be lost or changed in this case ,? It indicates that this situation has not been verified. It is purely a guess (after all, upgrading the system is too troublesome)
Advantages and disadvantages