saveHeight().md 336 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10
save a numeric height value to Healthkit

`saveHeight` accepts an options object containing a numeric height value:
```javascript
let options = {
  value: 200 // Inches
}
```

```javascript
Terrillo Walls's avatar
Terrillo Walls committed
11
AppleHealthKit.saveHeight(options: Object, (err: Object, results: Object) => {
12 13 14 15 16 17
  if (err) {
    return;
  }
  // height successfully saved
});
```