Reputation: 2121
I have some data (Student info), and my app should be able to read and display these student records in a UITableView
.
I need to know the following;
Upvotes: 0
Views: 83
Reputation: 68
when you will create a sqlite database, you have to store it in your application folder only just like any local image for app like Default.png or icon.png.... and when you run your app on device the sqlite database also will be loaded together with the application....sqlite database will be stored as a file with extension .sqlite onle...copy it in your app...it will just execute just fine.....when you write coding like "Select *..." or "INsert into..." or "delete from...." remember to give the correct name of the sqlite file copied in your app...
Upvotes: 2
Reputation: 7844
After creating Database in SQLITE save that Database, which gives you file with extension .sqlite then drag and drop that .sqlite file in to Resources folder of you application program in XCODE and then install in you iPhone It will work. and you can use Sqlite using iPhoen
Upvotes: 1