0

I would like to delete some files from apps temporary folder if user updates to specific version.

Is there an option to do so kind of a post processing after app is being updated and installed from App Store?

Borut Tomazin
  • 8,041
  • 11
  • 78
  • 91

1 Answers1

1

No, not directly.

You have to include such a logic into your app. You could write a block that checks if the files are present in the applicationDidFinishLaunching function using dispatch_async to run it on a low priority queue after your app was started.

You could also write a flag in the userdefaults after the block is done so it is only executed once after the update.

Bastian
  • 10,403
  • 1
  • 31
  • 40