is there a command to clear out the sqlite database the iphone so that I can do better testing. It seems to save the user data after I login via facebook, etc. I would like to clear it out so I can run some tests. thanks
is there a command to clear out the sqlite database the iphone so that I can do better testing. It seems to save the user data after I login via facebook, etc. I would like to clear it out so I can run some tests. thanks
Probably the best way to find out is to check SQLite API and what it provides...
ok. This is what the app uses by default to store local variables correct?
If you are talking about local storage -- it's different than sqlite.
ok sorry, It is local storage that I want to clear out each time the app loads for now. I have found this and modified it will it work perhaps?
for (var i in localStorage){
localStorage = '';
}
I am about to try it.