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 may want to consider using OpenUDID
which is a drop-in replacement for the deprecated UDID
.
Basically, to match the UDID
, the following features are required:
OpenUDID
fulfills the above and even has a built-in Opt-Out mechanism for later consideration.
Check http://OpenUDID.org it points to the corresponding GitHub. Hope this helps!
As a side note, I would shy away from any MAC address alternative. While the MAC address appears like a tempting and universal solution, be sure that this low hanging fruit is poisoned. The MAC address is very sensitive, and Apple may very well deprecate access to this one before you can even say "SUBMIT THIS APP"... the MAC network address is used to authenticate certain devices on private lans (WLANs) or other virtual private networks (VPNs). .. it's even more sensitive than the former UDID!