memoryLimitTerminationCount
TypeScriptget memoryLimitTerminationCount(): numberSwift declarationlet memoryLimitTerminationCount: IntThe number of times the system terminated the app from the background for using too much memory.
struct · iOS 27.0+ · SDK 27.1
struct BackgroundTerminationMetricA metric for background app terminations.
get memoryLimitTerminationCount(): numberSwift declarationlet memoryLimitTerminationCount: IntThe number of times the system terminated the app from the background for using too much memory.
get taskTimeoutTerminationCount(): numberSwift declarationlet taskTimeoutTerminationCount: IntThe number of times the system terminated the app from the background for exceeding the allocated time for a background task.
get systemPressureTerminationCount(): numberSwift declarationlet systemPressureTerminationCount: IntThe number of times the system terminated the app from the background to free up memory.
get illegalInstructionTerminationCount(): numberSwift declarationlet illegalInstructionTerminationCount: IntThe number of times the system terminated the app from the background for attempting to execute an illegal or undefined instruction.
get normalTerminationCount(): numberSwift declarationlet normalTerminationCount: IntThe number of times the application terminated normally from the background.
get abnormalTerminationCount(): numberSwift declarationlet abnormalTerminationCount: IntThe number of times the app terminated abnormally from the background.
get fileLockTerminationCount(): numberSwift declarationlet fileLockTerminationCount: IntThe number of times the system terminated the app from the background while being suspended and having file locks.
get watchdogTerminationCount(): numberSwift declarationlet watchdogTerminationCount: IntThe number of times the system watchdog terminated the app from the background.
get badAccessTerminationCount(): numberSwift declarationlet badAccessTerminationCount: IntThe number of times the system terminated the app from the background for attempting an invalid memory access.
get highCPUTerminationCount(): numberSwift declarationlet highCPUTerminationCount: IntThe number of times the system terminated the app from the background for using too much CPU time.
No declarations were skipped in this snapshot.