Posts

Post not yet marked as solved
5 Replies
2.3k Views
Hi - Our iOS application uses a shared container to store data so that it is accessible by the main app as well as several app extensions (widgets, share action, watch app, notification service, etc.) I've noticed on a few devices that the shared container is persisting after the app is uninstalled and reinstalled. The URL for the shared container has a unique UUID that I can see is the same across installs, and files that were saved to it are still there. Most devices behave as I would expect: they lose the contents of the shared container, and get a brand new empty container on reinstall. The problem doesn't seem to be iCloud as I have completely disabled iCloud access on the test devices and the folder continues to persist. Has anyone else experienced this, and is there a way to ensure that the shared container is deleted when the app is uninstalled? Thanks, Brent
Posted Last updated
.