Skip to content
This repository has been archived by the owner on Oct 20, 2023. It is now read-only.

Latest commit

 

History

History
17 lines (15 loc) · 336 Bytes

saveHeight().md

File metadata and controls

17 lines (15 loc) · 336 Bytes

save a numeric height value to Healthkit

saveHeight accepts an options object containing a numeric height value:

let options = {
  value: 200 // Inches
}
AppleHealthKit.saveHeight(options: Object, (err: Object, results: Object) => {
  if (err) {
    return;
  }
  // height successfully saved
});