As has been reported on many technology news sites (must be a slow weekend!) the [device uniqueidentifier] method has been marked for deprecation.
I’ve come across a library that utilizes the device’s MAC Address along with the App Bundle Identifier to generate a unique ID in your applications that can be used as a UDID replacement.
Keep in mind that unlike the UDID this number will be different for every app.
You simply need to import the included NSString and UIDevice categories and call:
[[UIDevice currentDevice] uniqueDeviceIdentifier]
In order to grab the generated device identifier.
Thanks to George Kitz for the library. You can find it on Github here:
While you probably weren’t going crazy over this as sites like TechCrunch were trying to make their readers believe – this little library should save you the time of trying to figure out how to generate a unique ID for each device yourself.
Submit A Resource
Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?
You can submit the url here.
The resources we feel will appeal to our readers the most will be posted on the front page.