로딩 화면 설정 | 초기화 및 화면 | Appbox iOS SDK 가이드

로딩 화면 설정

로딩 indicator의 크기와 전경, 배경색을 설정합니다.

로딩 화면 설정

AppBox.setLoadingData(_ config: AppBoxLoadingConfig)

Swift
1 let loadingConfig = AppBoxLoadingConfig(
2 sizePercentage: 10,
3 iconColor: "#999999",
4 backColor: "#1A000000"
5 )
6 AppBox.setLoadingData(loadingConfig)
1 AppBoxLoadingConfig *loadingConfig =
2 [[AppBoxLoadingConfig alloc] initWithSizePercentage:10
3 iconColor:@"#999999"
4 backColor:@"#1A000000"];
5 [AppBox setLoadingData:loadingConfig];

Request 항목 정의

Request 항목필수여부설명기본값
config필수로딩 화면 설정-
config.sizePercentage선택indicator 크기 비율10
config.iconColor선택indicator hex 색상#999999
config.backColor선택배경 hex 색상#1a000000

Response 항목 정의

Response 결과값
없음반환값과 callback이 모두 없습니다


색상은 SDK가 지원하는 hex 문자열로 전달합니다. 앱 디자인과 명도 대비를 확인합니다. indicator 표시 자체는 setIndicatorEnabled(_:)로 제어합니다.

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