Unfortunately Apple deprecated access to a unique-per-device UUID and other sorts of unique identifiers. Check here. But maybe this could help you:
On UIDevice
there's identifierForVendor
, that is the same for apps that come from the same vendor running on the same device and is different for apps on the same device that come from different vendors, and for apps on different devices regardless of vendor. Apps that need an identifier for their own advertising purposes should consider using the advertisingIdentifier
property of ASIdentifierManager
instead.
Framework called AdSupport
, that provides apps with access to an identifier that can be used only for serving advertisements
Here is another link that maybe helps you