Global Variable

HKMetadataKeyFoodType

The type of food that the HealthKit object represents.

Declaration

let HKMetadataKeyFoodType: String

Discussion

This key takes a string value. Food objects are usually food samples containing any number of Nutrition Identifiers samples.

See Also

Essentials

static let food: HKCorrelationTypeIdentifier

Food correlation types combine any number of nutritional samples into a single food object.