Pregunta

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?

¿Fue útil?

Solución

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.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top