How to get device username other information in iphone?
2 answers
Apple has access to all unique information from public interfaces, including the device's unique identifier.
Perhaps your best bet is to give your User the ability to contribute to your application, whatever they wish, so that you can find out - and possibly share it.
You can create a unique identifier:
CFUUIDRef theUUID = CFUUIDCreate(kCFAllocatorDefault);
NSString* myuniqueID = (__bridge NSString*)CFUUIDCreateString (kCFAllocatorDefault, theUUID);
and save it for later use in your NSUserDefaults application
+1
source to share