According to my information, this is a good way. Similarly, SecureUDID also does the same. Using OpenIDID, UDID does not even change the restart of the application or reinstalls the application. But if u changes any input values, such as kOpenUDIDDomain or kOpenUDIDSlotPBPrefix, then it generates a new UDID. Based on the names that it generates and stores in PasteBoard. If you reset the device is also still the same. I will personally vote for it.
source share