Returns a predicate that matches any objects that have been associated with the provided workout.
- iOS 8.0+
- Mac Catalyst 13.0+Beta
- watchOS 2.0+
The workout you are searching for.
A predicate that matches any objects that have been added to the provided workout.
Use this convenience method to create a predicate that matches all the HealthKit objects for a given workout. The following sample uses both the convenience method and a predicate format string to create equivalent predicates.