본문으로 바로가기 본문 바로가기
WIKI 기술 지식 베이스

iOS

원문 보기 위키 갱신

이 그룹은 iOS 전용 속성을 설명해요.

출처: 문서

본문

  • iOS 속성
  • 지원 중단된(Deprecated) iOS 속성

iOS 속성

이 그룹은 iOS 전용 속성을 설명해요.

속성:

Key Stability Value Type Description Example Values
ios.app.state string 이 속성은 애플리케이션의 상태를 나타내요. [1] active; inactive; background

[1] ios.app.state: iOS 수명주기 상태는 UIApplicationDelegate 문서에 정의되어 있으며, OS terminology 열의 값이 여기서 파생돼요.

ios.app.state은 다음과 같은 잘 알려진 값들이 있어요. 그중 하나가 해당된다면 반드시 그 값을 사용해야 하고, 그렇지 않으면 사용자 정의 값을 사용할 수 있어요.

Value Description Stability
active 앱이 active(활성)가 되었어요. UIKit 알림 applicationDidBecomeActive와 연관돼요.
background 앱이 이제 백그라운드에 있어요. 이 값은 UIKit 알림 applicationDidEnterBackground와 연관돼요.
foreground 앱이 이제 포그라운드에 있어요. 이 값은 UIKit 알림 applicationWillEnterForeground와 연관돼요.
inactive 앱이 이제 inactive(비활성) 상태예요. UIKit 알림 applicationWillResignActive와 연관돼요.
terminate 앱이 종료되려고 해요. UIKit 알림 applicationWillTerminate와 연관돼요.

지원 중단된 iOS 속성 (Deprecated iOS Attributes)

iOS 애플리케이션이 실행되고 있는 iOS 플랫폼이에요.

속성:

Key Stability Value Type Description Example Values
ios.state ios.app.state로 대체됨. string 지원 중단됨(Deprecated). ios.app.state 속성을 사용하세요. [2] active; inactive; background

[2] ios.state: iOS 수명주기 상태는 UIApplicationDelegate 문서에 정의되어 있으며, OS terminology 열의 값이 여기서 파생돼요.

ios.state은 다음과 같은 잘 알려진 값들이 있어요. 그중 하나가 해당된다면 반드시 그 값을 사용해야 하고, 그렇지 않으면 사용자 정의 값을 사용할 수 있어요.

Value Description Stability
active 앱이 active(활성)가 되었어요. UIKit 알림 applicationDidBecomeActive와 연관돼요.
background 앱이 이제 백그라운드에 있어요. 이 값은 UIKit 알림 applicationDidEnterBackground와 연관돼요.
foreground 앱이 이제 포그라운드에 있어요. 이 값은 UIKit 알림 applicationWillEnterForeground와 연관돼요.
inactive 앱이 이제 inactive(비활성) 상태예요. UIKit 알림 applicationWillResignActive와 연관돼요.
terminate 앱이 종료되려고 해요. UIKit 알림 applicationWillTerminate와 연관돼요.

더 알아보기 (Learn more)