When an iOS device runs out of power and initiates a shutdown, are running apps signaled such that they could "save" unsaved form content?
-
For example, if a person using Quora's iPhone app fails to respond to the low power warning, when shutdown occurs they will lose an answer or comment they were writing. If it were possible for the app to perform a save-draft before the app was terminated, then when power was restored, the user could continue with their content authoring.
-
Answer:
Yes. When the app is going to be terminated by the operating system for whatever reason, the app delegate is sent the applicationWillTerminate: message. This is where you would initiate the saving of a draft to avoid data loss.
Ben Reimers at Quora Visit the source
Related Q & A:
- Is it possible to change a script when it is running?Best solution by Stack Overflow
- How do plugins identify what type of server a website is running on?Best solution by Stack Overflow
- When a strong acid and strong base mix, they may neutralize each other and form compounds called?Best solution by Yahoo! Answers
- Is is true you can save a BUNDLE when you book your next cruise while on a cruise?Best solution by Yahoo! Answers
- Where is the power wire on a 94 Suburban?Best solution by commandocaralarms.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.