Solved

Updating iphone app db

Posted on 2011-03-24
2
982 Views
Last Modified: 2012-05-11
Hi,

i want to create an iphone application that displays data from sqlite database thats why  i created an application and added .sqlite file to the 'Resources' of project, when i compile project it successfully displays data in UITableView.But now the problem is when i update the .sqlite file by adding new record and then recompile the application,it still displays the same data,it don't show the updated data…even now if i delete the .sqlite file from the 'Resources' of the project and then compile, it still shows data….so what is the problem?how can i solve this problem so that every time when i compile the project it display updated data from sqlite file.?
0
Comment
Question by:Wikkiboy
2 Comments
 
LVL 13

Accepted Solution

by:
SpeedyApocalypse earned 250 total points
ID: 35212185
Have you tried cleaning all of your targets (by going to Build > Clean All Targets) as well as re-installing the application in simulator by tapping and holding it inside of the simulator?
0
 

Author Closing Comment

by:Wikkiboy
ID: 35213047
Excellent, that really worked!
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When Apple released Swift last year, the aim was to introduce a new programming language for Cocoa and Cocoa Touch that was fast, easy and effective, like the name connotes. Apple succeeded. Swift is designed to couple with Objective-C program…
iCloud Drive was introduced after iOS 8 was launched last year. This drive is Apple’s online storage device that lets users sync their files and access them from all their Apple devices.   There is a lot of data that is not automatically backed up…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question