Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Updating iphone app db

Posted on 2011-03-24
2
Medium Priority
?
1,014 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 1000 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

     Intro      In this article, I will show you how to parse a JSON in Swift using an open source library called SwiftyJSON (https://github.com/SwiftyJSON/SwiftyJSON). If you haven't heard of a JSON before, it stands for JavaScript Object Notation…
Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
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.
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

772 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