<!--
{
  "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/matchedKeyCount",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Exposure Notification"
    ],
    "preciseIdentifier" : "c:objc(cs)ENExposureDetectionSummary(py)matchedKeyCount"
  },
  "title" : "matchedKeyCount"
}
-->

# matchedKeyCount

The number of keys that matched for an exposure detection.

```
var matchedKeyCount: UInt64 { get }
```

## Discussion

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

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).

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)