Reputation: 773
This may seem like an absurd question, however thought I best double check beforehand.
I am deciding which sort of data storage method to use, and currently using SQLite (libsqllite2.dylib).
If I were to release an update for the app through the app store, would the data within the database be preserved or deleted once the iPhone app was updated?
Thank you,
Upvotes: 0
Views: 219
Reputation: 22305
Everything in your sandbox that's not in the bundle -- anything you put in your Documents folder, Library folder, etc. -- is retained. Only the app bundle itself is replaced.
Upvotes: 2