errorRequiredAuthorizationDenied
The user hasn’t granted the application authorization to access all the required clinical record types.
Declaration
static var errorRequiredAuthorizationDenied: HKError.Code { get }Discussion
You can specify required clinical record types using the NSHealthRequiredReadAuthorizationTypeIdentifiers Info.plist key.