Contents

HKPredicateKeyPathAverage

The key path for the sample’s average quantity.

Declaration

let HKPredicateKeyPathAverage: String

Discussion

Use this constant whenever you want to include a sample’s quantity in a predicate format string. Add a %K placeholder to the format string, and then pass this constant as an argument.

See Also

Specifying Predicate Key Paths