문제

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?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top