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