I was wondering if it was possible to find out the UDID of the user\'s iPhone. Can someone shed some light?
I cannot comment, but I would like to warn others. In answer of DZenBot, all methods aren't giving the same results :
Alternative 1 (NSUUID class):
NSString *udid = [[NSUUID UUID] UUIDString];
Alternative 2 (UIDevice class) (Available in iOS 6.0 and later):
NSString *udid = [[[UIDevice currentDevice] identifierForVendor] UUIDString];
Alternative 1 generate a random UUID while Alternative 2 give a fixed UID which won't change.