Solved

Updating iphone app db

Posted on 2011-03-24
2
990 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

Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

Question has a verified solution.

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

CocoaPods is the best way to manage library dependencies in iOS and OS X projects. By using cocoa pods there is no need of downloading the code from github and copying to your project. There are plenty of open source libraries now available with C…
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.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

830 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