Daily iOS
App lifecycle and system

Termination and state restoration

Users complain that when they're writing a long post and step out to another app, what they were writing sometimes disappears. Why does that happen?

How would an interviewer hear this answer? You'll see whether they'd move on, dig in, or say no, and which sentences would trip you up. Your score doesn't change.
See the short answer

The app was suspended in the background and then terminated without notice to reclaim memory, so state that lived only in memory is gone. The app switcher snapshot is still there, so the user never notices the termination.

Share a question