CrashDiagnostic.TerminationReason
A value that describes the reason the app terminated.
Declaration
struct TerminationReasonDiscussion
TerminationReason is RawRepresentable and CustomStringConvertible. Use rawValue to access the underlying string value, or rely on the CustomStringConvertible conformance to print the termination reason or interpolate it into a string:
if let reason = diagnostic.terminationReason {
print("Termination reason: \(reason)")
}