Returns a predicate that matches the objects with the specified universally unique identifiers (UUIDs).
- iOS 8.0+
- Mac Catalyst 13.0+
- watchOS 2.0+
The set of UUIDs to be matched.
A predicate that matches the specified objects based on their UUIDs.
HealthKit assigns a UUID to each object when it is saved to the HealthKit store. HealthKit uses these IDs to uniquely identify objects from the store. Use this convenience method to create a predicate that checks an object’s UUID against the provided set of UUIDs. The following sample uses both the convenience method and a predicate format string to create equivalent predicates.