---
title: aggregationStyle
framework: healthkit
role: symbol
role_heading: Instance Property
path: healthkit/hkquantitytype/aggregationstyle
---

# aggregationStyle

The aggregation style for the given quantity type.

## Declaration

```swift
var aggregationStyle: HKQuantityAggregationStyle { get }
```

## Discussion

Discussion For more information on aggregation styles, see HKQuantityAggregationStyle.

## See Also

### Accessing Quantity Type Data

- [HKQuantityAggregationStyle](healthkit/hkquantityaggregationstyle.md)
- [is(compatibleWith:)](healthkit/hkquantitytype/is(compatiblewith:).md)
