HealthKit watchOS 7.4 to 8.0 API Differences
HKAnchoredObjectQuery.h
Added
-[HKAnchoredObjectQuery initWithQueryDescriptors:anchor:limit:resultsHandler:]
HKAppleWalkingSteadinessClassification.h
Added
HKAppleWalkingSteadinessClassification
Added
HKAppleWalkingSteadinessClassificationOK
Added
HKAppleWalkingSteadinessClassificationLow
Added
HKAppleWalkingSteadinessClassificationVeryLow
Added
HKAppleWalkingSteadinessClassificationForQuantity()
Added
HKAppleWalkingSteadinessMinimumQuantityForClassification()
Added
HKAppleWalkingSteadinessMaximumQuantityForClassification()
HKDefines.h
Added
HKCategoryValuePregnancyTestResult
Added
HKCategoryValuePregnancyTestResultNegative
Added
HKCategoryValuePregnancyTestResultPositive
Added
HKCategoryValuePregnancyTestResultIndeterminate
Added
HKCategoryValueProgesteroneTestResult
Added
HKCategoryValueProgesteroneTestResultNegative
Added
HKCategoryValueProgesteroneTestResultPositive
Added
HKCategoryValueProgesteroneTestResultIndeterminate
Added
HKCategoryValueAppleWalkingSteadinessEvent
Added
HKCategoryValueAppleWalkingSteadinessEventInitialLow
Added
HKCategoryValueAppleWalkingSteadinessEventInitialVeryLow
Added
HKCategoryValueAppleWalkingSteadinessEventRepeatLow
Added
HKCategoryValueAppleWalkingSteadinessEventRepeatVeryLow
HKHealthStore.h
Added
-[HKHealthStore enableBackgroundDeliveryForType:frequency:withCompletion:]
Added
-[HKHealthStore disableBackgroundDeliveryForType:withCompletion:]
Added
-[HKHealthStore disableAllBackgroundDeliveryWithCompletion:]
Added
-[HKHealthStore recalibrateEstimatesForSampleType:atDate:completion:]
HKMetadata.h
Added
HKMetadataKeyDateOfEarliestDataUsedForEstimate
Added
HKMetadataKeyAlgorithmVersion
HKObjectType.h
Added
HKSampleType.allowsRecalibrationForEstimates
HKObserverQuery.h
Added
-[HKObserverQuery initWithQueryDescriptors:updateHandler:]
HKQuery.h
Added
+[HKQuery predicateForVerifiableClinicalRecordsWithRelevantDateWithinDateInterval:]
HKQueryDescriptor.h
Added
HKQueryDescriptor
Added
HKQueryDescriptor.sampleType
Added
HKQueryDescriptor.predicate
Added
-[HKQueryDescriptor initWithSampleType:predicate:]
HKSampleQuery.h
Added
-[HKSampleQuery initWithQueryDescriptors:limit:resultsHandler:]
Added
-[HKSampleQuery initWithQueryDescriptors:limit:sortDescriptors:resultsHandler:]
HKTypeIdentifiers.h
Added
HKQuantityTypeIdentifierAppleWalkingSteadiness
Added
HKQuantityTypeIdentifierNumberOfAlcoholicBeverages
Added
HKCategoryTypeIdentifierPregnancyTestResult
Added
HKCategoryTypeIdentifierProgesteroneTestResult
Added
HKCategoryTypeIdentifierAppleWalkingSteadinessEvent