init(predicate:)
Instantiates an activity summary query descriptor.
Declaration
init(predicate: NSPredicate?)Parameters
- predicate:
A predicate that limits the results that the query returns. For a list of convenience methods for building predicates, see Hkquery.