I am using the HealthKit framework to retrieve the steps from the user using HKSource. In Xcode Objective C, I used Bundle Identifier to differentiate between steps from watch/iPhone. But using Swift I was not able to do so. Please suggest.
Thanks in Advance.
Use
.separateBySource
in the options of your query. For example: