---
title: HKAuthorizationStatus
framework: healthkit
role: symbol
role_heading: Enumeration
path: healthkit/hkauthorizationstatus
---

# HKAuthorizationStatus

Constants indicating the authorization status for a particular data type.

## Declaration

```swift
enum HKAuthorizationStatus
```

## Overview

Overview This status indicates whether  the user has authorized your app to save data of the given type. To help maintain the privacy of sensitive health data, HealthKit does not tell you when the user denies your app permission to query data. Instead, it simply appears as if HealthKit does not have any data matching your query. Your app will receive only the data that it has written to HealthKit. Data from other sources remains hidden from your app. For more information on privacy in HealthKit, see HealthKit.

## Topics

### Constants

- [HKAuthorizationStatus.notDetermined](healthkit/hkauthorizationstatus/notdetermined.md)
- [HKAuthorizationStatus.sharingDenied](healthkit/hkauthorizationstatus/sharingdenied.md)
- [HKAuthorizationStatus.sharingAuthorized](healthkit/hkauthorizationstatus/sharingauthorized.md)

### Initializers

- [init(rawValue:)](healthkit/hkauthorizationstatus/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Accessing HealthKit

- [authorizationStatus(for:)](healthkit/hkhealthstore/authorizationstatus(for:).md)
- [getRequestStatusForAuthorization(toShare:read:completion:)](healthkit/hkhealthstore/getrequeststatusforauthorization(toshare:read:completion:).md)
- [HKAuthorizationRequestStatus](healthkit/hkauthorizationrequeststatus.md)
- [isHealthDataAvailable()](healthkit/hkhealthstore/ishealthdataavailable().md)
- [supportsHealthRecords()](healthkit/hkhealthstore/supportshealthrecords().md)
- [requestAuthorization(toShare:read:completion:)](healthkit/hkhealthstore/requestauthorization(toshare:read:completion:).md)
- [requestAuthorization(toShare:read:)](healthkit/hkhealthstore/requestauthorization(toshare:read:).md)
- [requestPerObjectReadAuthorization(for:predicate:completion:)](healthkit/hkhealthstore/requestperobjectreadauthorization(for:predicate:completion:).md)
- [handleAuthorizationForExtension(completion:)](healthkit/hkhealthstore/handleauthorizationforextension(completion:).md)
- [authorizationViewControllerPresenter](healthkit/hkhealthstore/authorizationviewcontrollerpresenter.md)
