简体   繁体   English

iPhone / iPad用户配置文件跟踪

[英]iPhone / iPad user profile tracking

My iphone app downloads user specific data from our web server. 我的iPhone应用程序从我们的Web服务器下载用户特定的数据。 How can I identify a unique user/device? 如何识别唯一的用户/设备? cookie? 曲奇饼? ip address? IP地址? 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 您可以通过调用获取设备的UUID

[[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. 不应存在​​人们尚未找到答案的任何问题,您可以通过搜索SO或google找到这些问题。

Can generate your own UUID's using CFUUID 可以使用CFUUID生成自己的UUID

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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