I have some simple doubts. I have an application that store some important data in sqlite. Does the data I have kept in a Database would be removed after updating the application. I mean when a new version released and installed in iPhone. If it will remove, how can I keep data that persistant over all versions. Thanks in advance.
Share
As long as the database file is kept in the applications documents directory it will not be overwritten on application update. However, if the schema changes you will need to migrate your data from the previous data store to a new one and then move it into place.
From the iOS Programming Guide:
Found in this document.