A predicate used to filter the objects returned from the HealthKit store.
SDKs
- iOS 8.0+
- Mac Catalyst 13.0+
- watchOS 2.0+
Framework
- Health
Kit
Declaration
@property(readonly, strong) NSPredicate *predicate;
Discussion
If the predicate is nil
, the query does not filter its results. Instead, it returns all the objects matching the query’s other parameters.