iphone - workout information send to phone live -


i have created heart rate monitor on apple watch , sends alerts notifies if heart rate gets low. after creating app, realized not run in background. there way either force app run in background on watch or send heart rate information phone?

i've investigated this, don't have practical experience (yet). understand, watch apps in watchos3 can capture continuous heart rate updates these conditions:

  • it's full app (not extension).
  • the app starts workout
  • info.plist has wkbackgroundmodes key set

you'll need either start workout watch app, or if triggered companion ios app you'll need call start​watch​app​with​workout​configuration:​completion:​ start workout session on paired watch.

p.s. welcome stackoverflow!


Comments