Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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:

I downloaded a wallpaper app from the appstore.

It's a free app, if you don't pay, you can download limited wallpapers, up to 105.

  • 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?

  • I download it again.

  • I enter flight mode, so there is no internet connection.
  • I open the app, no wallpaper preview can be download from internet.

But the save count shows 1/105!

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?

  • I delete the app. so it's not store in the app documents or tmp folder.
  • I delete the wallpaper in my album, SO it can't get it from an MD5 of my album.
  • I am in flight mode, so it can't get it from their server or anywhere on the internet.

Anyone knows where this app stored the save/download count?

like image 561
EggErr Avatar asked Feb 07 '12 16:02

EggErr


People also ask

How do you save data after deleting an app?

First, go to Settings and tap on 'Apps. ' Then, at the bottom of the screen, you'd see the 'Uninstall' icon. Tap on it, and you'd see a popup giving you the option of uninstalling an app but 'Keep xxx MB of app data.” Mark the checkbox and hit 'Ok.

Does iPhone store data from deleted apps?

Even if you have deleted the apps that you do not need anymore, the data from those will still remain with iCloud. In order to simply delete the app data from iCloud (iOS 11) to manage your iCloud storage, you can: Step 1. On your iPhone, go to Settings and Press iCloud.

Does deleting an app on iPhone delete its data?

You can delete apps from your iPhone's Home Screen, which will erase any saved data. You can also offload an app to save its data and settings if you end up re-installing it. On iOS 14 or later, you can hide apps from your Home Screen and access them through the App Library.

How do I delete an app and all its data on iOS?

Touch and hold the app until it jiggles. Then tap the delete button in the upper-left corner of the app to delete it. If you see a message that says, "Deleting this app will also delete its data," tap Delete.


1 Answers

This is done using the keychain on iOS most likely.

Read up on it here: https://developer.apple.com/library/mac/documentation/security/Reference/keychainservices/Reference/reference.html

like image 63
Richard J. Ross III Avatar answered Oct 07 '22 05:10

Richard J. Ross III