One Logo Pool Ball
MetricKit · IOS API REFERENCE

ForegroundTerminationMetric

struct · iOS 27.0+ · SDK 27.1

struct ForegroundTerminationMetric

A metric for foreground app terminations.

Members (6)

get · iOS 27.0+

memoryLimitTerminationCount

TypeScript
get memoryLimitTerminationCount(): number
Swift declaration
let memoryLimitTerminationCount: Int

The number of times the system terminated the app from the foreground for using too much memory.

get · iOS 27.0+

illegalInstructionTerminationCount

TypeScript
get illegalInstructionTerminationCount(): number
Swift declaration
let illegalInstructionTerminationCount: Int

The number of times the system terminated the app from the foreground for attempting to execute an illegal or undefined instruction.

get · iOS 27.0+

normalTerminationCount

TypeScript
get normalTerminationCount(): number
Swift declaration
let normalTerminationCount: Int

The number of times the application terminated normally from the foreground.

get · iOS 27.0+

abnormalTerminationCount

TypeScript
get abnormalTerminationCount(): number
Swift declaration
let abnormalTerminationCount: Int

The number of times the app terminated abnormally from the foreground.

get · iOS 27.0+

watchdogTerminationCount

TypeScript
get watchdogTerminationCount(): number
Swift declaration
let watchdogTerminationCount: Int

The number of times the system watchdog terminated the app from the foreground.

get · iOS 27.0+

badAccessTerminationCount

TypeScript
get badAccessTerminationCount(): number
Swift declaration
let badAccessTerminationCount: Int

The number of times the system terminated the app from the foreground for attempting an invalid memory access.

Skipped declarations

No declarations were skipped in this snapshot.

All MetricKit types →