Gabriel
Gabriel

Reputation: 561

What happens to the paths I created to memory and the data inside them once I delete the app?

Im making an app that saves photos data to memory and saves the paths to core data. I am debugging it so I take photos and then delete the app if I change the code. So what happens to the paths and the data inside them every time I delete the app? Are they still there or does the os takes care of unreferenced memory allocations? Thanks in advance!

Upvotes: 0

Views: 61

Answers (1)

user2387149
user2387149

Reputation: 1218

If by memory you mean saved in a directory like documents directory of the app. This directories are cleansed completely when deleting the app. Therefor sqlite (core data) is also deleated. And any unallocated memory is "released" when you kill the app from memory. Deleting an app is the easiest way to reseting it.

Upvotes: 1

Related Questions