Question 6 of 10Pro Only

What is state preservation, and how do you save and restore screen state when an app is killed by the operating system?

Sample answer preview

State preservation ensures that when a user returns to your app after the operating system has terminated it to free memory, the app restores to the exact state the user left it in.

state-preservationsaved-instance-stateview-modelscene-storagerestoration-mixinprocess-death

Unlock the full answer

Get the complete model answer, key points, common pitfalls, and access to 9+ more Mobile Developer interview questions.

Upgrade to Pro

Starting at $19/month • Cancel anytime