Skip to content

Instantly share code, notes, and snippets.

@josephchang10
Created December 16, 2016 09:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save josephchang10/520f4d12e19b8acd6e4a70b033b0f33c to your computer and use it in GitHub Desktop.
Save josephchang10/520f4d12e19b8acd6e4a70b033b0f33c to your computer and use it in GitHub Desktop.
didReceiveMemoryWarning
override func didReceiveMemoryWarning() {
super.didReceiveMemoryWarning()
// 在这里销毁所有可以被重建的资源
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment