HKAuthorizationStatus.notDetermined
The user has not yet chosen to authorize access to the specified data type.
Declaration
case notDeterminedDiscussion
Make sure your app requests proper authorization before calling any other HealthKit methods. For more information on setting up HealthKit, see HealthKit.