UIDeviceAddition 1.0

UIDeviceAddition 1.0

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Dec 2014

Maintained by Unclaimed.


Downloads

Total87,283
Week0
Month1,183

Installs

Apps259
Test Targets30
Watch Apps1
powered by Segment

GitHub

Stars1,261
Watchers71
Forks248
Issues5
Contributors2
Pull Requests6

Code

Files4
LOCLines of Code 89


  • By
  • Georg Kitz

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.