0

I wonder if there is an option the get all my last activity from Apple HealthKit in 1 Query?

It is clear to my how to fetch only one type of activity (for example Yoga)

HKQuery.predicateForWorkouts(with: .yoga)

But I dont understand if there are option to fetch all the activities types in 1 query?

    case .americanFootball:             return "American Football"
    case .archery:                      return "Archery"
    case .australianFootball:           return "Australian Football"
    case .badminton:                    return "Badminton"
    case .baseball:                     return "Baseball"
    case .basketball:                   return "Basketball"
    case .bowling:                      return "Bowling"
    case .boxing:                       return "Boxing"
Android0077
  • 401
  • 1
  • 6
  • 12

0 Answers0