Take the 2-minute tour ×

Possible Duplicate:
UIDevice uniqueIdentifier Deprecated - What To Do Now?

Currently we have developed an application for older version where,we are validating the user with their UDID, Can any one tell me that is that possible to do the same in the iOS5 version.Please let me know if they restrict or they are not allowing in the latest version (iOS5).

Thanks in advance

share|improve this question

marked as duplicate by Michael Myers Oct 4 '11 at 22:20


iOS5 still under NDA right? I dont think anyone will answer. –  Krishnabhadra Aug 24 '11 at 5:36
"We are validating the user with their UDID" - This is why Apple is phasing it out: Because of people misusing it like you. –  titaniumdecoy Aug 24 '11 at 5:41
iOS 5 in general is, yes, but as soon as someone leaks it to a tech website it becomes "public knowledge" and is excluded. I won't look up the documentation on it for somebody, but I can say "Yes, I've heard it's deprecated." –  wjl Aug 24 '11 at 5:41

3 Answers 3

It seems that it will be deprecated, so it will still be in ios5, they just want you to stop using it because it will probably be removed in future versions...


Here is the language from the Apple Developer documentation:

Deprecated in iOS 5.0

uniqueIdentifier An alphanumeric string unique to each device based on various hardware details. (read-only) >(Deprecated in iOS 5.0. Instead, create a unique identifier specific to your app.)

share|improve this answer

UDID is no longer available from the API. Simply generate your own application specific UDID.

share|improve this answer

The documentation for iOS 5 is not completed, and even if it were, it would be a violation of NDA for anyone with access to tell you what it said.

As I'm sure you're aware by you asking the question, the UUID is reported to be unavailable in the current beta. Also, you're probably aware that there's backlash about that. I wouldn't be surprised if Apple provided access to the UUID through a deprecated method but began rejecting apps still accessing it submitted after iOS 5.1, or some other phasing-out schedule.

UUID is a bad method for authenticating users, though. If their device is replaced under AppleCare, or upgraded, they will be locked out of their account, and that's bad UX.

See this question for more information about CFUUIDCreate.

Update: As of mid-March 2012, apps are being rejected for using UUIDs. Good riddance!

share|improve this answer
