I have made one sample project which can add and edit records from SQLite database through simulator..
But when I connect my app with iPad and run it.
It will not connect the app with sqlite database and finally my add and edit functionality is not working.
null values are being passed when i try to fetch data.
I have tried a lot to resolve this problem.
But can’t find the reason why it’s happening.
Please help me out.
I have made one sample project which can add and edit records from SQLite
Share
Solution I found is…
when I was inserting values in the SQLite database throgh my iPad devide,new instance of database is created in ipad.
Now when I insert data through iPad data was being stored in that ipad’s database only…
While I was checking in my SQL database stored in my drive in PC. That was wrong.
So when I wanted to fetch the data for some ID it won’t get the detail as it is not there in my device’s database.
It was database path problem..Thanks to all