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