Objective C Get iPhone Device GUID

Following Xcode reveals you the device id

 
UIDevice *device = [UIDevice currentDevice];
NSString *uniqueIdentifier = [device uniqueIdentifier];
/*[device release];*/
NSLog(@"Device GUID: %@", uniqueIdentifier);
2 Comments