Get the device id for simulator
Hi
How can we get device id(unique id) for iPhone programmatically.
I used this below code, but i am not getting device id properly.
UIDevice *device = [UIDevice currentDevice];
NSString *uniqueIdentifier = [device uniqueIdentifier];
NSLog(@"Device GUID: %@", uniqueIdentifier);
[device release];
Can anybody know how to get the device id for the simulator.
Thanks
mindus
|