The key path for the sample’s maximum quantity.
SDKs
- iOS 13.0+
- Mac Catalyst 13.0+
- watchOS 6.0+
Framework
- Health
Kit
Declaration
let HKPredicateKeyPathMax: 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.