Skip to content

Instantly share code, notes, and snippets.

@MoussaHellal
Created April 22, 2023 08:22
Show Gist options
  • Save MoussaHellal/0ca2e0efdacae3f0a402754f4d8a338d to your computer and use it in GitHub Desktop.
Save MoussaHellal/0ca2e0efdacae3f0a402754f4d8a338d to your computer and use it in GitHub Desktop.
These methods are used in suspended state
func applicationDidReceiveMemoryWarning(_ application: UIApplication) {
// It is called when the app receives a memory warning
// This method can be used to release any resources that can be recreated when the app is launched again
}
func applicationWillTerminate(_ application: UIApplication) {
// It is called when the app is about to terminate
// This method can be used to save data or perform other cleanup tasks before the app is terminated
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment