In Objective-C, the NSSetUncaughtExceptionHandler can register some functionality to do some last minute logging about the exception.
NSSetUncaughtExceptionHandler
This doesn\'t catc
Swift 5 you can handle app crash like this
NSSetUncaughtExceptionHandler { (exception) in let stack = exception.callStackReturnAddresses print("Stack trace: \(stack)") }