---
title: infectiousnessForDaysSinceOnsetOfSymptoms
framework: exposurenotification
role: symbol
role_heading: Instance Property
path: exposurenotification/enexposureconfiguration/infectiousnessfordayssinceonsetofsymptoms
---

# infectiousnessForDaysSinceOnsetOfSymptoms

The mapping between the days since onset of symptoms to the degree of infectiousness.

## Declaration

```swift
var infectiousnessForDaysSinceOnsetOfSymptoms: [NSNumber : NSNumber]? { get set }
```

## Discussion

Discussion important: This property is available in iOS 12.5, and in iOS 13.7 and later. The dictionary key is the day since the onset of symptoms. The corresponding value is an ENInfectiousness value. When the day is not known, use ENDaysSinceOnsetOfSymptomsUnknown as the dictionary key, like this: infectiousnessForDaysSinceOnsetOfSymptoms[ENDaysSinceOnsetOfSymptionsUnknown] =          infectiousnessHighWeight; You can’t change this property more often than once per week. During development, you can remove this limitation by adding the test entitlement com.apple.developer.exposure-notification-test to your project. note: You must set this property when using the version 2 scoring algorithm.

## See Also

### Configuring Infectiousness

- [infectiousnessHighWeight](exposurenotification/enexposureconfiguration/infectiousnesshighweight.md)
- [infectiousnessStandardWeight](exposurenotification/enexposureconfiguration/infectiousnessstandardweight.md)
- [ENDaysSinceOnsetOfSymptomsUnknown](exposurenotification/endayssinceonsetofsymptomsunknown.md)
