<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 13.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "HealthKit",
  "identifier" : "/documentation/HealthKit/HKCategoryTypeIdentifier/appleStandHour",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "HealthKit"
    ],
    "preciseIdentifier" : "c:@HKCategoryTypeIdentifierAppleStandHour"
  },
  "title" : "appleStandHour"
}
-->

# appleStandHour

A category sample type that counts the number of hours in the day during which the user has stood and moved for at least one minute per hour.

```
static let appleStandHour: HKCategoryTypeIdentifier
```

## Discussion

This quantity type counts the number of hours during which the user stood and moved for at least one minute per hour.

If [`wheelchairUse()`](/documentation/HealthKit/HKHealthStore/wheelchairUse()) returns [`HKWheelchairUse.yes`](/documentation/HealthKit/HKWheelchairUse/yes), Apple Watch calculates the number of hours during which the user rolled for at least one minute instead. Also, the Activity rings display Roll hours instead of Stand hours.

> Note:
> Roll hours are recorded using the ``doc://com.apple.healthkit/documentation/HealthKit/HKActivitySummary/appleStandHours`` quantity type. Check the ``doc://com.apple.healthkit/documentation/HealthKit/HKHealthStore/wheelchairUse()`` method’s return value to determine whether the data should be interpreted as Roll or Stand hours.

These samples use values from the [`HKCategoryValueAppleStandHour`](/documentation/HealthKit/HKCategoryValueAppleStandHour) enumeration.  They represent the data tracked by the Stand ring on Apple Watch.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)