用户删除我的iOS应用程序后如何存储本地数据? [英] How to store local data after user delete my iOS app?
问题描述
我认为这是不可能的,因为所有数据存储在沙盒中,当用户删除应用程序时,应该从设备中删除所有数据。
I thought it's impossible, because all the data store in a sandbox, when user delete the app, all the data should be removed from the device.
但不知何故,这发生了:
But somehow, this happened:
我从appstore下载了一个壁纸应用程序。
I downloaded a wallpaper app from the appstore.
这是一个免费的应用程序,如果你不付费,你可以下载有限的壁纸,最多105个。
It's a free app, if you don't pay, you can download limited wallpapers, up to 105.
- 我下载壁纸并保存到我的相册。它现在是1/105。
- 我删除了应用程序,并删除了我相册中的壁纸。
-
我关闭了iCloud备份功能。
好的,它完全从我的设备上移除了,对吗?
- I download a wallpaper and save to my album. it's now 1/105.
- I delete the app, and delete the wallpaper in my album.
I turn off the iCloud backup function. OK, It's totally removed from my device, right?
我再次下载它。
但保存计数显示为1/105!
But the save count shows 1/105!
我不是想偷他们的壁纸,我没有把我的壁纸换了4个月。我只是想知道,这个应用程序怎么知道我已经保存了1个壁纸?
I'm not trying to steal their wallpapers, I did not change my wallpaper for 4 months. I just wanna know, how can this app know I saved 1 wallpaper already?
- 我删除了应用程序。因此它不会存储在应用程序文档或tmp文件夹中。
- 我删除了相册中的壁纸,因此它无法从我相册的MD5中获取。
- 我处于飞行模式,因此无法从服务器或互联网上的任何地方获取。
任何人都知道这个应用程序存储了保存/下载计数的位置吗?
Anyone knows where this app stored the save/download count?
推荐答案
这很可能是使用iOS上的钥匙串完成的。
This is done using the keychain on iOS most likely.
这篇关于用户删除我的iOS应用程序后如何存储本地数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!