Muhammad Iqbal
Muhammad Iqbal

Reputation: 119

To Identify an iOS device uniquely even after uninstallation of application for packages purposes

I need to identify an iOS Device uniquely through swift that the identification remains same even user uninstall and reinstall the application again and again the unique identifier for that device should not change

Upvotes: 3

Views: 1156

Answers (1)

Mahesh Shahane
Mahesh Shahane

Reputation: 499

Since the value returned from identifierForVendor can be cleared when deleting the app or reset if the user resets it in the Settings app, you have to manage persisting it yourself.

You can create your own UDID and store it locally in the keychain.

Please check this :

How to get the realy fixed Device-ID in swift?

Upvotes: 2

Related Questions