Use-[uidevice Identifierforvendor] or-[asidentifiermanager advertisingidentifier] as a unique identifier for your frame and app. Frankly speaking, it is not so difficult to deal with these changes, see the following code snippet:
NSString *identifierforvendor = [[Uidevice Currentdevice].identifierforvendor uuidstring];
NSString *identifierforadvertising = [[Asidentifiermanager sharedmanager].advertisingidentifier UUIDString];
Each method is adapted to a particular usage:
Identifierforvendor is the only value for a vendor, which means that an app issued by the same company will have the same identifier when it runs on the same device. However, if the user removes the vendor's app and then re-installs it, the identifier will be inconsistent.
Advertisingidentifier will return the same value for all software vendors on this device, so it can only be used when advertising. This value can change in many cases, such as when the user initializes the device. (Not too clear)
Get unique IDs for iOS devices