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
Post a Comment