How do you get the unique identifying information from an iPhone/iPad within an app? For instance, I want my app to send support emails to my website for users who have problems and I need to uniquely identify the phone number/id of the device it is running on. Is this possible, forbidden?
+1
A:
The unique identifier for the particular iPhone you're running on:
NSString *uniqueIdentifier = [[UIDevice currentDevice] uniqueIdentifier];
More info on CFUUID
John Wang
2010-04-20 19:02:58
UDID is not the same thing as UUID...
KennyTM
2010-04-20 19:05:22
+1
A:
There's some discussion about getting the user's phone number here:
http://stackoverflow.com/questions/193182/programmatically-get-own-phone-number-in-iphone-os
Joost Schuur
2010-04-20 19:03:45