//
// HealthKitManager.h
// BJTResearch
//
// Created by yunlong on 2017/6/9.
// Copyright © 2017年 yunlong. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface HealthKitManager : NSObject
/**
* 健康单例
*/
+ (instancetype)sharedInstance;
/**
* 检查是否支持获取健康数据
*/
- (void)authorizeHealthKit:(void(^)(BOOL success, NSError *error))compltion;
/**
* 获取步数
*/
- (void)getStepCount:(void(^)(NSString *stepValue, NSError *error))completion;
/**
* 获取睡眠
*/
- (void)getSleepCount:(void(^)(NSString *sleepValue, NSError *error))completion;
@end
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
HealthKitDemo.zip (55个子文件)
HealthKitDemo
HealthKitDemo
Assets.xcassets
AppIcon.appiconset
Contents.json 585B
main.m 337B
HealthKitManager.h 617B
AppDelegate.h 280B
AppDelegate.m 2KB
Base.lproj
LaunchScreen.storyboard 2KB
Main.storyboard 2KB
HealthKitManager.m 9KB
HealthKitDemo.entitlements 239B
ViewController.h 218B
Info.plist 1KB
ViewController.m 3KB
HealthKitDemo.xcodeproj
project.xcworkspace
contents.xcworkspacedata 158B
xcuserdata
yunlong.xcuserdatad
UserInterfaceState.xcuserstate 14KB
project.pbxproj 14KB
xcuserdata
yunlong.xcuserdatad
xcschemes
HealthKitDemo.xcscheme 3KB
xcschememanagement.plist 485B
.git
index 2KB
hooks
README.sample 177B
config 137B
description 73B
refs
tags
heads
master 41B
logs
refs
heads
master 168B
HEAD 168B
objects
fd
f3f97d1b6e9d8d29bb69a88c4d89ca752bd937 807B
36
663c10ce39ffdab5fd8529870d9e7b02ea9c2c 139B
e1
0f4302d524a2c6313dc968df134285905acfc8 201B
07
9ef1c906c3eba28a1765be924134466d95b9ad 90B
5c
ec38b9506d4ca325d6ce8d7c68d660ae3c1dbb 130B
f4
fb6fd0363836d2d93c8d78ba8c7cdfe8b8be8f 308B
51
a0a304ea2ff02c0a8ed62296f69ace658ebefa 315B
ea
b616f0e8f4487791d50e620e6df67037c621da 57B
21
bcd1d2dbd6520a26272307a41d92d668efe0a0 911B
a4
919a90648c666b0e0b584dabb78e502a94fffc 287B
info
47
766d28601a5c246d02ee607afe03fecb824914 69B
85
f9036a4937b72730e3d17a7832ec892de1323e 387B
a9
e9ac0c20be8a26f1620d44ef48c6f2d0944a3e 222B
f8
770055da7afa9ae4464dc2ca97a6ce219cd944 52B
95
bf7f42b7757b3076a7d2f5afc476488f6613e0 59B
f3
19f5d215de85b8991830e8f0f3cfd92a546913 3KB
pack
11
8c98f7461bf98b2bc7e061150d8021121ad277 161B
8b
eb40d2b2a612a5d43d237c8eadaf3dac7c5c0e 174B
9c
eab2ce39ace669e38967b0b7baec33f18b59eb 94B
96
decd26ce87dec733ca33a67098dd297de65e37 109B
45
29698c4c56ae1c65c132f2754a23d888259a74 781B
38
e98af23d391ddd93a0c47f4113cb2fb64606d5 494B
5a
2344bd78946fdbf243d3ed7635e606139e0fb6 130B
93
bbb12956f9de281edd16e41be53148750db932 261B
01
5fcc08db90999f31a3551073f9f041c432f91f 527B
9d
062d4da3f8391627e12646dc549a988f1430d2 3KB
b6
fa341d10992337d8377196771f424c9d379dad 62B
info
exclude 40B
COMMIT_EDITMSG 15B
HEAD 23B
.DS_Store 6KB
共 55 条
- 1
资源评论
- qq_302710172017-07-12为什么有时获取不到睡眠
TechAlleyBoy
- 粉丝: 25
- 资源: 4
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功