Hello all!
I'm writing an educational game and want to log user actions on a local database since I am not guaranteed internet access at the deployment site.
What I tried initially was to use a database path string as
which wrote to a database file inside the application support files of the program. The program pulled from and pushed to the database and these changes were preserved in Xcode's iPhone Simulator. However, the deployed program on the iPad never seemed to make changes in the respective file on the iPad. I determined this by examining the ipad wih "iPad File Explorer".
Am I doing something wrong here? Is there a better way to write and read from a database local to the iPad?
Thanks!
I'm writing an educational game and want to log user actions on a local database since I am not guaranteed internet access at the deployment site.
What I tried initially was to use a database path string as
Code:
dbPathString = [[NSBundle mainBundle] pathForResource:@"Journey" ofType:@"sqlite"];
which wrote to a database file inside the application support files of the program. The program pulled from and pushed to the database and these changes were preserved in Xcode's iPhone Simulator. However, the deployed program on the iPad never seemed to make changes in the respective file on the iPad. I determined this by examining the ipad wih "iPad File Explorer".
Am I doing something wrong here? Is there a better way to write and read from a database local to the iPad?
Thanks!
Last edited by a moderator: