No Picture

UIDevice uniqueIdentifier property is deprecated – What now?

7 January, 2013 admin 9

I’m going to show you in this post how to write a workaround for this problem. Many of the existing Apps in the App Store are dependent on this property (uniqueIdentifier) for uniquely identifying a particular device… Apple stopped supporting a unique identifier for iOS (>=5.0). Solution 1: Instead of: [UIDevice uniqueIdentifier]; Use: [UIDevice uniqueDeviceIdentifier]; But wait… where does this property it come from? The following source code solves the problem. It generates a unique identifier based […]