What is a long-term method I can use to uniquely identify an iOS device?

前端 未结 5 1797
难免孤独
难免孤独 2020-12-09 03:55

What is the best way to uniquely register an iOS Device, which won\'t be limited by future Apple restrictions?

My current approach to register an iOS device (basical

5条回答
  •  一个人的身影
    2020-12-09 04:32

    The best approach I've seen is using the keychain. You can generate an UUID with the CFUUIDCreateString function and store it in the keychain. This data stays in the device between installs and restores from backups.

提交回复
热议问题