2

I am using UUID for blocking users from using my application, when they violates rules of application. But UUID is deprecated in iphone so now i am creating a custom uuid and saving it in keychain.

Now i want to know when keychain values are reset? Are values in keychain goes away when user update iOS or reset iphone.

Iqbal Khan
  • 4,587
  • 8
  • 44
  • 83
  • 2
    This not your answer in any way but have a look at : http://www.doubleencore.com/2013/04/unique-identifiers/ – CRDave May 08 '13 at 05:52
  • 1
    Do not track users by any device-specific ID. People sell their devices, or return them to apple to be refurbished or give them to their family members or whatever. You can't identify users by the device and you just cause problems to future owners. – Mike Weller May 08 '13 at 05:57
  • i think i can use Identifier for Vendor (IDFV). For detail check above link – Iqbal Khan May 08 '13 at 05:57
  • yes, you are right, Mike Weller. I am not adding a new feature in the but i had to update existing code to work with deprecated UUID feature. :) – Iqbal Khan May 08 '13 at 06:00
  • @Developer: Please check http://stackoverflow.com/questions/16411698/is-it-possible-to-create-a-device-specific-plist-file-ios/16412775#16412775 Device specific Id – Midhun MP May 08 '13 at 06:43

3 Answers3

1

The keychain is cleared if the user resets their phone.

Abizern
  • 146,289
  • 39
  • 203
  • 257
1

you can use mac address. It's not deprecated yet :)

0

No the values that are stored in the key chain does't go away until you clear it but if you reset the phone it ll go away.

jailani
  • 2,260
  • 2
  • 21
  • 45