0

In my app, I want UDID of all the devices in which my application is installed. Can i get this ?

Is there any way to get UDIDs ?

Thanks for any help.

Nikunj
  • 987
  • 11
  • 25

4 Answers4

3

You can get UIID by NSLog(@"%@",[[UIDevice currentDevice] uniqueIdentifier]);

I want UDID of all the devices in which my application is installed.

You can get UIIDs by web service. You need to write a web service to send UIID to your server.

Nate
  • 31,017
  • 13
  • 83
  • 207
Maulik
  • 19,348
  • 14
  • 82
  • 137
3

I am pretty sure you can't get the UDID from each device your app is installed on. That would open up possibilities to privacy breach - I am sure. You can only get the UDID of the device you are holding in your hand, or if someone sends you their UDID. However in iOS 6 Apple is moving away from the UDID system.

jwknz
  • 6,598
  • 16
  • 72
  • 115
2

Use of UDID is deprecated, and replaced by UUID.

If you require to collect this, your app will need to make a HTTP connection to a server and record this information (usually in a database).

Snips
  • 6,575
  • 7
  • 40
  • 64
1

It depends on what you mean. Do you mean the old UDID for iOS devices, or just a unique identifier for each device?

If it's the latter, see answers to this question.

As I posted in my answer, there is a new NSUUID method you can use.

After you app reads this, of course, you would probably want to post it to your web server for storage.

Community
  • 1
  • 1
Nate
  • 31,017
  • 13
  • 83
  • 207