<!--
{
  "availability" : [
    "iOS: 14.0.0 - 27.0.0",
    "iPadOS: 14.0.0 - 27.0.0",
    "macCatalyst: 14.0.0 - 27.0.0",
    "macOS: 11.0.0 - 27.0.0",
    "visionOS: 1.0.0 - 27.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "MetricKit",
  "identifier" : "/documentation/MetricKit/MXBackgroundExitData/cumulativeBackgroundTaskAssertionTimeoutExitCount",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "MetricKit"
    ],
    "preciseIdentifier" : "c:objc(cs)MXBackgroundExitData(py)cumulativeBackgroundTaskAssertionTimeoutExitCount"
  },
  "title" : "cumulativeBackgroundTaskAssertionTimeoutExitCount"
}
-->

# cumulativeBackgroundTaskAssertionTimeoutExitCount

The number of times the system terminated the app from the background for exceeding the allocated time for a background task.

```
var cumulativeBackgroundTaskAssertionTimeoutExitCount: Int { get }
```

## Discussion

This exit usually occurs when the app fails to call <doc://com.apple.documentation/documentation/UIKit/UIApplication/endBackgroundTask(_:)> as soon as a background task is complete.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)