Skip to content

coolioxlr/watchOS-2-heartrate

Repository files navigation

watchOS-2-heartrate

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

06/29/2016 Updates watchOS3 + Swift3 https://github.com/coolioxlr/watchOS-3-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

Example 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

About

watchOS 2.0 healthkit, heartrate streaming, start workout session

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages