dimanche 8 mai 2016

How to save the sqlite file in the local folder or nsbundle programatically in iOS?

I already have an sqlite file in my application. But in one of my application settings page there are two options restore and backup. The idea which is to be implemented is that a) On clicking backup the sqlite file which is already there must be saved in another folder inside the application by creating a new folder. b) On clicking restore the datas must be fetched from the sqlite file present in the newly created folder.

Any idea how to achieve this? Thanks

Aucun commentaire:

Enregistrer un commentaire