UUID是唯一的吗?苹果手机 [英] UUID is unique? iphone
问题描述
我可以将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屋!