12-18-2009, 04:32 AM #1
Maintaining the state of the application
- Member Since
- Dec 18, 2009
I want to maintain the state of my application...i.e say user is inside the application and he quits the app. from there itself..
Now when he restarts the application, the app. starts from the first view..I want the app. to resume from the same view from where the user has left..
There is an application "Drill Down Save" available on apple's site but that app. only contains the tables in all the views.. but in my case I have views which contains things other than table. Tables are not used much.
Please someone guide me how to implement that ASAP...I really need this to be implemented at the earliest.
Thanks in advance.
12-18-2009, 08:21 AM #2
- Member Since
- Dec 20, 2006
- Lake Mary, Florida
- 15" MBP, Core i7/2GHz, 8GB RAM, 480GB Crucial M500 SSD
First let's get this thread in the right spot as clearly it is not a comment or question about the forum software.Liquid and computers don't mix. It might seem simple, but we see an incredible amount of people post here about spills. Keep drinks and other liquids away from your expensive electronics!
12-19-2009, 06:02 PM #3
- Member Since
- Jun 25, 2005
- On the road
- 2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid
Second, goading people into answering your question based on your time table is likely to get few or no responses. It is considered bad etiquette.
Third, the Apple sample reference suggests you are creating an iPhone app. You should have mentioned that in your post. That helps others picture the scenario in their head.
Finally, what you are asking is unique to each app. I can't see that you'll get answers that will fit your exact situation.
The way that I picture this is that you have to understand what it will take to reconstruct that view. You'll need to save those items that can aid in the reconstruction. Perhaps you place the view level and some other random data into the user defaults. You write any records to a database and save the last query parameters. If you have a table list from a database, save the record id for the record displayed at the top of the list. When your user comes back in, you rebuild the model as it was, push to the appropriate view, and display the goods.
This thread over at iphonedevsdk may be helpful.CameraTime - Time lapse photography for novice and advanced users.
When asking questions, post the version of your software. You'll receive better answers.
Please post your results to the thread as it is good feedback.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By Firejack in forum OS X - Operating SystemReplies: 7Last Post: 11-03-2012, 08:47 AM
By Mac Math in forum Switcher HangoutReplies: 8Last Post: 05-15-2011, 09:26 AM
By chihiro in forum Apple NotebooksReplies: 2Last Post: 08-14-2010, 08:47 PM
By aquariaguy in forum OS X - Operating SystemReplies: 3Last Post: 11-18-2008, 04:12 PM