Contents

HKError.Code.errorAuthorizationNotDetermined

The app hasn’t yet asked the user for the authorization required to complete the task.

Declaration

case errorAuthorizationNotDetermined

Mentioned in

Discussion

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

See Also

Errors