It has just come to light that the UIDevice uniqueIdentifier property is deprecated in iOS 5 and unavailable in iOS 7 and above. No alternative method or pr
You can use
NSString *sID = [[[ASIdentifierManager sharedManager] advertisingIdentifier] UUIDString];
Which is unique for the device in all application.