Global Variable

HKPredicateKeyPathCount

A key path for the sample’s count.

Declaration

NSString *const HKPredicateKeyPathCount;

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

Predicate Key Paths

HKPredicateKeyPathQuantity

The key path to the sample’s quantity.