predicateForMedicationDoseEvent(scheduledDates:)
Declaration
class func predicateForMedicationDoseEvent(scheduledDates: Set<Date>) -> NSPredicateParameters
- scheduledDates:
The exact scheduled dates of any medication dose event to match.
Discussion
Creates a predicate for use with HKQuery subclasses.
Creates a query predicate that matches HKMedicationDoseEvent samples that have any of the exact scheduled dates specified.