IPhone .sqlite file place -


How do I change the .sqlite file in my directory structure? Now it is in documents, but I want to put it in library / preferences. Can you help me

Assume that your code contains something like this:

 [NSSearchPathForDirectoriesInDomains (NSDocumentDirectory, NSUserDomainMask, yes) lastObject]; Try changing with   NSDocumentDirectory  to  NSLibraryDirectory  

I'm not sure where and where you are allowed to write files there (Using unacquainted methods, of course).


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -