At user defined intervals, my latest sqlite database is downloaded from my remote server and unzipped in the NSDocumentDirectory. However, the latest data does not get displayed to the user, because an older version of the database is being cached.
I have checked the iPhone Simulator documents directory at:
/Users/cdesign/Library/Application Support/iPhone Simulator/6.1/Applications/B458A3F5-5B21-49CD-B4D8-17E5189678FA/Documents
I can confirm that the latest database has been downloaded and unzipped correctly, using Navicat Sqlite.
My question is, how do I remove an sqlite database from the memory cache in iOS, using objective c?
Thanks in advance
Aucun commentaire:
Enregistrer un commentaire