Skip to content

Latest commit

 

History

History
16 lines (15 loc) · 311 Bytes

saveBmi.md

File metadata and controls

16 lines (15 loc) · 311 Bytes

save a numeric BMI value to Healthkit

saveBmi accepts an options object containing a numeric BMI value:

let options = {
  value: 27.2
}
AppleHealthKit.saveBmi(options: Object, (err: Object, results: Object) => {
  if (err) {
    return;
  }
  // BMI successfully saved
});