I try to get the UDID without using the UIDevice
class but directly from implementing the dynamic library liblockdown.dylib
on iOs 4.2. I don't find any documentation. All I need is to get the kLockdownUniqueDeviceIDKey
, what should I do ?
How can I get UDID using liblockdown.dylib?
2.5k Views Asked by Rjaibi Mejdi At
3
There are 3 best solutions below
1

here implementation: https://github.com/theiostream/lockdown-uiduid/blob/master/main.mm
This code work on iOS 6.1.3 but it does not work on iOS 7b2 :(
I don't know about iOS 4, but I know that the UDID can also be retrieved on iOS 5, 6 and 7 using the libMobileGestalt.dylib. More information about this library can be found on the iPhone Development Wiki.