<!--
{
  "availability" : [
    "iOS: 12.5.0 - 27.0.0",
    "iPadOS: 12.5.0 - 27.0.0",
    "macCatalyst: 12.5.0 - 27.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "ExposureNotification",
  "identifier" : "/documentation/ExposureNotification/ENExposureDetectionSummary/daysSinceLastExposure",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Exposure Notification"
    ],
    "preciseIdentifier" : "c:objc(cs)ENExposureDetectionSummary(py)daysSinceLastExposure"
  },
  "title" : "daysSinceLastExposure"
}
-->

# daysSinceLastExposure

Number of days since the most recent exposure.

```
var daysSinceLastExposure: Int { get }
```

## Discussion

> Important:
> This property is available in iOS 12.5, and in iOS 13.5 and later.

The values for this property represent the number of days since the most recent exposure, going backwards. For example, a value of `0` means that the person was exposed today, `1` was yesterday, `2` was two days ago, and so on.

This property is only valid if [`matchedKeyCount`](/documentation/ExposureNotification/ENExposureDetectionSummary/matchedKeyCount) > 0.

The framework computes this property’s value across all matching exposures, not just exposures that meet or exceed [`minimumRiskScore`](/documentation/ExposureNotification/ENExposureConfiguration/minimumRiskScore) or [`minimumRiskScoreFullRange`](/documentation/ExposureNotification/ENExposureConfiguration/minimumRiskScoreFullRange).

> Note:
> This value is only available when `ENAPIVersion` is set to `1` in the app’s Info.plist file.

---

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)