A query that returns a list of sources, such as apps and devices, that have saved matching queries to the HealthKit store.
- iOS 8.0+
- Mac Catalyst 13.0+
- watchOS 2.0+
Source queries return a list of sources that have saved samples matching the specified sample types. Sources can be apps or devices (like Apple Watch or Bluetooth heart-rate monitors).
Source queries are immutable: Their properties are set when they are first created, and they can’t change.