user1202278
user1202278

Reputation: 773

Preservation of SQLite data with iOS app update

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

Answers (1)

Matthew Frederick
Matthew Frederick

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

Related Questions