Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to identify a user on iOS?

I am using LibGDX and for the Android version of my game I use the "Get Accounts" permission to identify a user by their Gmail address.

Is their a similar way to identify a user for iOS?

like image 835
Z0q Avatar asked Mar 22 '16 18:03

Z0q


1 Answers

According to the App Store Guidelines, you shouldn't get user's personal data without obtaining the user's prior permission. The only identifier you can use anonymously is identifierForVendor:

UIDevice.currentDevice().identifierForVendor?.UUIDString

This identifier is common for all your apps on the user's device. If all the apps were deleted from the device, the identifier may change. More.

like image 107
Marat Saytakov Avatar answered Sep 16 '22 14:09

Marat Saytakov