I have the following statement in my code:
if(sqlite3_open([databasePath UTF8String], &database) == SQLITE_OK)
but it doesn't seem to be opening my database.
Any ideas ?
I have the following statement in my code:
if(sqlite3_open([databasePath UTF8String], &database) == SQLITE_OK)
but it doesn't seem to be opening my database.
Any ideas ?
Simply use this filepath method
Without knowing anything else about your problem, one can only assume that your path is invalid.
Try using this path to see if it works