文章来源:淘论文网   发布者: 毕业设计   浏览量: 39

定做请加QQ:1052602713 或加微信:


还可以点击去查询以下关键词:
[iPhone]    [获取]    [写入]    [毕业]    [althKit]    [属性]    [可以]    [从iPhone获取或写入He毕业althKit属性,我可以帮到你。]   

项目介绍:

skoalGitHub  skoal,一款基于HealthKit获取iPhone健康有关的属性库,开题报告,支持读写.HealthStore 对应支持属性SampleHealthKit Identifier TypeReadWrite
StepCount   HKQuantityTypeIdentifierStepCount      
Height   HKQuantityTypeIdentifierHeight      
BodyMass   HKQuantityTypeIdentifierBodyMass      
BodyMassIndex   HKQuantityTypeIdentifierBodyMassIndex      
DistanceWalkingRunning   HKQuantityTypeIdentifierDistanceWalkingRunning      
FlightsClimbed   HKQuantityTypeIdentifierFlightsClimbed      
RespiratoryRate   HKQuantityTypeIdentifierRespiratoryRate      
DietaryEnergyConsumed   HKQuantityTypeIdentifierDietaryEnergyConsumed      
OxygenSaturation   HKQuantityTypeIdentifierOxygenSaturation    
BodyTemperature   HKQuantityTypeIdentifierBodyTemperature      
BloodGlucose   HKQuantityTypeIdentifierBloodGlucose      
BloodPressureSystolic   HKQuantityTypeIdentifierBloodPressureSystolic      
BloodPressureDiastolic   HKQuantityTypeIdentifierBloodPressureDiastolic      
StandHour   HKCategoryTypeIdentifierAppleStandHour    
BiologicalSex   biologicalSexWithError    
DateOfBirth   dateOfBirthComponentsWithError    
BloodType   bloodTypeWithError    
FitzpatrickSkin   fitzpatrickSkinTypeWithError    
SleepAnalysis   HKCategoryTypeIdentifierSleepAnalysis    
MenstrualFlow   HKCategoryTypeIdentifierMenstrualFlow    
IntermenstrualBleeding   HKCategoryTypeIdentifierIntermenstrualBleeding    
SexualActivity   HKCategoryTypeIdentifierSexualActivity    
License

skoaluse MIT license

Installation with cocoapods pod 'skoal'Usage

Start the project to see the example

Objective-C

[[skoal sharedInstance]requestHealthPermissionWithBlock:^(HealthStorePermissionResponse permissionResponse) { if (permissionResponse == HealthStorePermissionResponseError) { DLog(@'请求权限失败'); }else{ DLog(@'请求权限成功'); } }];

Swift

skoal.sharedInstance().requestHealthPermission { (response: HealthStorePermissionResponse) in if response == HealthStorePermissionResponse.error { print('请求失败') } else { print('请求成功') } }方法预览方法预览
  开题报告

这里还有:


还可以点击去查询:
[iPhone]    [获取]    [写入]    [毕业]    [althKit]    [属性]    [可以]    [从iPhone获取或写入He毕业althKit属性,我可以帮到你。]   

请扫码加微信 微信号:sj52abcd


下载地址: http://www.taolw.com/down/3735.docx
  • 上一篇:XMTimePickerView时间段毕业设计选择器(可包括至今)
  • 下一篇:想要更简单的推送消息,看本文就对了