Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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.
Objective-C
Branch: master
Pull request Compare This branch is 9 commits ahead, 4 commits behind gekitz:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
Classes
UIDeviceAddition.xcodeproj
UIDeviceAddition
UIDeviceAdditionLib
.gitignore
README.markdown
license

README.markdown

Description

Apple stopped supporting a unique identifier for iOS. This source code solves the problem. It generates a unique identifier based on the mac address of the device in combination with the bundle identifier.

What you need to do:

  • copy NSString+MD5Addition and UIDevice+IdentifierAddition to your project.

  • use [[UIDevice currentDevice] uniqueDeviceIdentifier] to retrieve the unique identifier or

  • use [[UIDevice currentDevice] uniqueGlobalDeviceIdentifier] to retrieve a global unique identifier (used for tracking between different apps).

  • have fun and follow twitter.com/gekitz ;)

//Thanks to Erica Sadun for her UIDevice+Hardware Addition (used for the mac address retrieval).

License

see license file.

Something went wrong with that request. Please try again.