Apple is making a lot of big changes to its mobile operating system with iOS 5, which is dribbling out in betas for developers ahead of a general release later this year. But there is one big change some developers are just starting to take notice of that Apple isn’t talking about that much. In a recent update to the documentation for iOS 5 (which is only available to registered Apple developers, but a copy was forwarded to me), Apple notes that it will be phasing out access to the unique device identifier, or UDID, on iOS devices such as iPhones and iPads.
TechCrunch
Solution A:
UIDevice-with-UniqueIdentifier-for-iOS-5
Brings back the unique identifier support under iOS 5, it uses the device's mac address in combination with the bundle identifier to generate a new hashed unique identifier.
gekitz GitHub
Alternate Solution B:
Appsfire Announces Open Source UDID Replacement For iOS: OpenUDID
It is based on the NSProcessInfo (see globallyUniqueString), but may change the second time called.
TechCrunch
GitHub
Alternate Solution C:
With the drawback that this ID is not bound to the device and will change the second time you are requesting a new ID on the same device:
Help me generate unique identifiers
Tuaw
Comments
Post a Comment