I downloaded the source code located here on how to do a simple "To Do List":
iPhone Programming Tutorial ? Creating a ToDo List Using SQLite Part 4 | iPhone Programming Tutorials
What I notice is when I add anything to the list and then re-ran the simulator... whatever I added is not saved.
I installed the app on my phone and notice that the database is reseted when the Phone is turned off. The app works fine... but when the Phone is turned off (hold power button for 5 seconds) and when it turns back on... whatever I added to the To Do list is gone.
I spent several days on this and can't figure it out why it keeps getting deleted after phone is turned off. Source Code is here:
http://staging.icodeblog.com/wp-content/uploads/2008/09/todo-part-41.zip
iPhone Programming Tutorial ? Creating a ToDo List Using SQLite Part 4 | iPhone Programming Tutorials
What I notice is when I add anything to the list and then re-ran the simulator... whatever I added is not saved.
I installed the app on my phone and notice that the database is reseted when the Phone is turned off. The app works fine... but when the Phone is turned off (hold power button for 5 seconds) and when it turns back on... whatever I added to the To Do list is gone.
I spent several days on this and can't figure it out why it keeps getting deleted after phone is turned off. Source Code is here:
http://staging.icodeblog.com/wp-content/uploads/2008/09/todo-part-41.zip