Enumeration Case

HKErrorAuthorizationNotDetermined

Your app has not yet asked the user for the authorization required to complete this task.

Declaration

HKErrorAuthorizationNotDetermined

Discussion

This error occurs when your app does not request proper authorization before calling any other HealthKit methods. For more information on setting up HealthKit, see HealthKit