when ios app will get crashed at that time delegate method applicationWillTerminate(_:) is not calling. So which delegate method get call when app is crashed
when ios app will get crashed at that time delegate method applicationWillTerminate(_:) is not calling.
Correct.
So which delegate method get call when app is crashed
No application delegate method is called when your app crashes. Once the system detects the crash, it terminates the process, meaning that the process executes no more code. This makes sense because, by definition, a crashed app is in an invalid state, meaning that it’s not safe to run any more code in that process.
If you’re trying to catch crashes, I recommend that you not do that. See Implementing Your Own Crash Reporter for a detailed explanation as to why.
There are two good ways to investigate crashes:
-
Via the crash reports returned to you in App Store Connect
-
Via MetricKit
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"