如何读取healthkit插件ngcordova for ios的计数步骤?

时间:2016-08-29 11:32:22

标签: iphone ionic-framework ngcordova health-kit

我正在使用离子应用程序来读取iphone提供的健康应用程序中的步骤数,所以我需要读取步数 我正在使用ng-Cordova的健康套件插件: http://ngcordova.com/docs/plugins/healthkit/

module.controller('ThisCtrl', function($scope, $cordovaHealthKit) {
$cordovaHealthKit.isAvailable().then(function(yes) {
// Is available
}, function(no) {
// Is not available
});
})

我想使用或读取步数... 我刚刚看到了生日,性别,体重和身高。 如果它存在多个步骤?

0 个答案:

没有答案