Health runtime 확인 | Health | Appbox iOS SDK 가이드
Health
Health runtime 확인
Health runtime 확인
AppBox.isHealthAvailable() -> Bool
Swift
1
guard AppBox.isHealthAvailable() else {
2
return
3
}
1
if (![AppBox isHealthAvailable]) {
2
return;
3
}
Request 항목 정의
Response 항목 정의
| Response 결과값 | |
|---|---|
Bool | Health runtime 포함 여부. 즉시 반환됩니다 |
true는 HealthKit 권한 허용 상태를 의미하지 않습니다. HealthKit capability와 NSHealthShareUsageDescription을 별도로 설정합니다. 실제 호출 전 AppBoxInitResult.health.status도 확인합니다.