---
title: standHoursGoal
framework: healthkit
role: symbol
role_heading: Instance Property
path: healthkit/hkactivitysummary/standhoursgoal
---

# standHoursGoal

The user’s daily goal for stand hours.

## Declaration

```swift
var standHoursGoal: HKQuantity? { get set }
```

## Discussion

Discussion The HKQuantity object for this property must use count() units.

## See Also

### Accessing the summary’s data

- [activityMoveMode](healthkit/hkactivitysummary/activitymovemode.md)
- [HKActivityMoveMode](healthkit/hkactivitymovemode.md)
- [activeEnergyBurned](healthkit/hkactivitysummary/activeenergyburned.md)
- [activeEnergyBurnedGoal](healthkit/hkactivitysummary/activeenergyburnedgoal.md)
- [appleMoveTime](healthkit/hkactivitysummary/applemovetime.md)
- [appleMoveTimeGoal](healthkit/hkactivitysummary/applemovetimegoal.md)
- [appleExerciseTime](healthkit/hkactivitysummary/appleexercisetime.md)
- [appleExerciseTimeGoal](healthkit/hkactivitysummary/appleexercisetimegoal.md)
- [exerciseTimeGoal](healthkit/hkactivitysummary/exercisetimegoal.md)
- [appleStandHours](healthkit/hkactivitysummary/applestandhours.md)
- [appleStandHoursGoal](healthkit/hkactivitysummary/applestandhoursgoal.md)
- [HKCategoryValueAppleStandHour](healthkit/hkcategoryvalueapplestandhour.md)
- [dateComponents(for:)](healthkit/hkactivitysummary/datecomponents(for:).md)
