Push runtime 확인 | Push | Appbox iOS SDK 가이드
Push runtime 확인
Push runtime 확인
AppBox.isPushAvailable() -> Bool
Swift
1
if AppBox.isPushAvailable() {
2
// Push 기능 UI를 표시할 수 있습니다.
3
}
1
if ([AppBox isPushAvailable]) {
2
// Push 기능 UI를 표시할 수 있습니다.
3
}
Request 항목 정의
Response 항목 정의
| Response 결과값 | |
|---|---|
Bool | Push runtime 포함 여부. 즉시 반환됩니다 |
true는 초기화 성공, OS 알림 권한 허용 또는 token 준비 상태를 의미하지 않습니다. 실제 호출 전 AppBoxInitResult.push.status도 확인합니다.