lundi 21 septembre 2015

iOS migrate SQLite when upgrade the app?

I'm working on an old iOS app which has in app database i.e. pre populated database is provided to the app so that app can read(only read), now in updated version only information in table is updated(tables are same). when i test new data base i have to delete app from device to get new data otherwise i get old data.

So my question is that how to migrate from old data to new data if user update the application from App Store?

I've gone through this and this SO post but these post are about alter tables but i want to update only my records.

Aucun commentaire:

Enregistrer un commentaire