iPhone / iPad user profile tracking

你说的曾经没有我的故事 提交于 2020-01-04 05:28:08

问题


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?


回答1:


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



来源:https://stackoverflow.com/questions/3183541/iphone-ipad-user-profile-tracking

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!