简体   繁体   中英

iPhone / iPad user profile tracking

My iphone app downloads user specific data from our web server. How can I identify a unique user/device? cookie? ip address? or do I need them to register first?

What are some issues I need to be aware of? best practices?

You can get the devices UUID by calling

[[UIDevice currentDevice] uniqueIdentifier]

You probably should register the user when the app is launched for the first time. There shouldn't be any issues that people haven't already found answers to and that you can find by searching SO or google.

Can generate your own UUID's using CFUUID

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM