sonoluminescence
sonoluminescence

Reputation: 1012

Does CoreData persist the data after I upgrade the app?

Does CoreData persist the user data after I upgrade the app? Otherwise I'd need to write a web services with a db to persists the user data.

Thanks in advance!

Upvotes: 6

Views: 321

Answers (1)

Abizern
Abizern

Reputation: 150605

If you store your data in the application's documents directory, you don't need to update your database or settings if you are just upgrading the app. If you delete the app from the device, then the documents is also deleted, in which case you will have to recreate your data.

Upvotes: 8

Related Questions