/watchOS-2-heartrate

watchOS 2.0 healthkit, heartrate streaming, start workout session

Primary LanguageSwift

watchOS-2-heartrate

Join the chat at https://gitter.im/coolioxlr/watchOS-2-heartrate

11/13/2015 Updates Apple finlly provide some sample code how to close ActivityRings https://developer.apple.com/library/watchos/samplecode/ActivityRings/Introduction/Intro.html#//apple_ref/doc/uid/TP40016623

Examples to show streaming heartrate from watch using Swift

  • request healthkit authorization from watch
  • queary from healthkit to show heartrate

##Requirements

  • Xcode 7.0, iOS 9.0 SDK, watchOS 2.0 SDK
  • iOS 9.0 and watchOS 2.0

##How to build

  • Change the "Team" setting on [General] for each target.
  • Setup HealthKit for the WatchKit extension target.

##watchOS Beta3

  • Simulator now showing simulated heartrate

##watchOS Beta4

  • Updated with new APIs