Skip to main content
Known Participant
March 9, 2012
Question

Deleting app storage when deleting iOS application

  • March 9, 2012
  • 1 reply
  • 475 views

I created an iOS application that used a SQLite database, and the behavior seemed to be that the SQLite data was removed when the application was deleted, and reinstalled. That is the behavior I wanted.

However I no longer need the power or complexity of a database so I switched to EncryptedLocalStorage to store a simple blob of info.  However, this information does not get deleted when the app gets deleted, and the state persists if I reinstall the app. Not what I wanted.

Is the SQLite database unique in that it gets deleted upon app deletion? Is there a simple file storage mechanism where I can be assured the data will be removed when the app gets removed? What's really going on here?

Any information is appreciated.

This topic has been closed for replies.

1 reply

March 9, 2012

This is probably on a smaller scale than what you are looking for but SharedObjects get deleted when the app is removed and reinstalled.