Skip to content

Instantly share code, notes, and snippets.

@jwill
Last active August 29, 2015 14:02
Show Gist options
  • Save jwill/6e10a96fb5cfde9dd3a3 to your computer and use it in GitHub Desktop.
Save jwill/6e10a96fb5cfde9dd3a3 to your computer and use it in GitHub Desktop.
t
Let’s see if we can figure out what happens when our app is terminated in the background. Start the app again, then hit the home key.
Now launch some other apps before returning to ours -- try and pick apps with large memory footprints. Can you figure out at which of the following lifecycle event handlers is the last one guaranteed to be called before your app can be terminated by the runtime?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment