2

I would like to save a file programmatically and fetch it. Is it possible to create a file and save it locally and retain it even the app is deleted?

RussVirtuoso
  • 900
  • 1
  • 9
  • 20

2 Answers2

4

No you can't do this, Because all files is depend on app container and when you uninstall app container automatically removed.

But for that you can use iCloud or Dropbox for file storage and after you can retrieve same file,

Jaydeep Vora
  • 6,085
  • 1
  • 22
  • 40
1

You can use iCloud to sync user's data (such as a database). So when application is deleted and downloaded again, saved data in iCloud will be sync with app bundle on downloading process.