---
title: HKMetadataKeyWeatherHumidity
framework: healthkit
role: symbol
role_heading: Global Variable
path: healthkit/hkmetadatakeyweatherhumidity
---

# HKMetadataKeyWeatherHumidity

A key that represents the weather humidity during the sample.

## Declaration

```swift
let HKMetadataKeyWeatherHumidity: String
```

## Discussion

Discussion This key takes an HKQuantity value expressed as a percentage. Set this key on an HKWorkout object to represent the overall humidity during the workout.

## See Also

### Weather Keys

- [HKMetadataKeyBarometricPressure](healthkit/hkmetadatakeybarometricpressure.md)
- [HKMetadataKeyWeatherCondition](healthkit/hkmetadatakeyweathercondition.md)
- [HKMetadataKeyWeatherTemperature](healthkit/hkmetadatakeyweathertemperature.md)
