This is the insert code. It works fine until i close the app and start it again, then all changes are gone. I don\'t see any error, could it be some iphone specific issue?>
Is the SQLite database file in the AppBundle, if so you will need to copy it to the document directory if you want to make changes.
You can't write to any files in your app bundle.