SpeedySloth: Using HealthKit to build a workout app for Apple Watch
Version 1.0, 2016-10-04
Xcode 9.0 or later; iOS 10.0 SDK, watchOS 3.0 SDK or later
iOS 10.0 or later, watchOS 3.0 or later
This sample demonstrates how to use HealthKit to build a workout app that runs in the background, collects data from the Apple Watch sensors, and contributes to Activity rings.