UUID是唯一的吗?苹果手机 [英] UUID is unique? iphone

查看:67
本文介绍了UUID是唯一的吗?苹果手机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以将UUID保存在外部数据库中,以检查用户是否仅从iPhone一次发布了他的消息吗?我进行了搜索,发现删除该应用程序后无法保存NSString值.我说的对吗?

Can i save an UUID in an external database in order to check if the user posts his message only one time from his iphone? I have searched and i have found that there is no way to save a NSString value after the app has been deleted. Am i right?

推荐答案

删除应用程序后,其所有数据也将被删除.您可以将UUID存储在远程服务器上,但是无论您的应用程序被删除并重新安装多少次,iPhone的UUID都是相同的.

When an app is deleted, all of its data is deleted too. You could store the UUID on a remote server, however the iPhone's UUID will be the same regardless of how many times your app is deleted and reinstalled.

请注意,这可能是一个安全问题,因为您的远程服务器可能会识别出已擦除并出售的设备.

Note that this can be a security concern as your remote server may recognize a device which has been wiped and sold.

这篇关于UUID是唯一的吗?苹果手机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆