1

Possible Duplicate:
UIDevice uniqueIdentifier Deprecated - What To Do Now?

I'm new to iOS development and am confused about how to track users. I need to identify unique devices/users for certain personalization features on the server-side.

I heard UDID is not longer supported, so what is the sanctioned way to do this? or do I have to make new users register first?

Community
  • 1
  • 1
James
  • 2,811
  • 3
  • 25
  • 29
  • I'd suggest looking into generating API keys on the server-side and making users register by email. Maybe authenticate with a know web service such as (Twitter, Facebook, etc.). – erran Nov 05 '12 at 01:38
  • i'd like to avoid that if possible. users should be able to start using the app without entering any info first. – James Nov 05 '12 at 01:45
  • Would you be able to generate an API when ever the app if first opened? I didn't suggest that at first because a user may delete the app, redownload it, or change devices. – erran Nov 05 '12 at 01:48

1 Answers1

1
[UIDevice currentDevice].identifierForVendor

This will be the same across all your apps from a given vendor on a given device.

Joshua C. Lerner
  • 1,910
  • 17
  • 12
kamprath
  • 2,220
  • 1
  • 23
  • 28