Solved

Updating iphone app db

Posted on 2011-03-24
2
959 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
Comment Utility
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
Comment Utility
Excellent, that really worked!
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

The release of the iPhone 6 and the iPhone 6 Plus was extremely successful for Apple. However when iOS 8.1 was introduced, many iPhone users complained of quick battery drainage. Without even knowing, you may be unnecessarily using up your battery p…
Set up iPhone and iPad email signatures to always send in high-quality HTML with this step-by step guide.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
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.

771 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now