Skip to content

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
});