Health runtime 확인 | Health | Appbox iOS SDK 가이드

Health

Health runtime 확인

앱 target에 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 결과값
BoolHealth runtime 포함 여부. 즉시 반환됩니다


true는 HealthKit 권한 허용 상태를 의미하지 않습니다. HealthKit capability와 NSHealthShareUsageDescription을 별도로 설정합니다. 실제 호출 전 AppBoxInitResult.health.status도 확인합니다.

www.naver.com
QR 코드를 촬영하면 입력하신 주소의
앱 예시 화면을 테스트할 수 있습니다.
* 스캔 후 바로 앱 다운로드 이동합니다.