---
title: category
framework: weatherkit
role: symbol
role_heading: Instance Property
path: weatherkit/uvindex/category
---

# category

The UV Index exposure category.

## Declaration

```swift
var category: UVIndex.ExposureCategory
```

## See Also

### Getting the UV index

- [value](weatherkit/uvindex/value.md)
- [UVIndex.ExposureCategory](weatherkit/uvindex/exposurecategory.md)
