iOS

iOS Attributes

This group describes iOS-specific attributes.

AttributeTypeDescriptionExamplesStability
ios.app.statestringThis attribute represents the state of the application. [1]active; inactive; backgroundDevelopment

[1] ios.app.state: The iOS lifecycle states are defined in the UIApplicationDelegate documentation, and from which the OS terminology column values are derived.


ios.app.state has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.

ValueDescriptionStability
activeThe app has become active. Associated with UIKit notification applicationDidBecomeActive.Development
backgroundThe app is now in the background. This value is associated with UIKit notification applicationDidEnterBackground.Development
foregroundThe app is now in the foreground. This value is associated with UIKit notification applicationWillEnterForeground.Development
inactiveThe app is now inactive. Associated with UIKit notification applicationWillResignActive.Development
terminateThe app is about to terminate. Associated with UIKit notification applicationWillTerminate.Development

Deprecated iOS Attributes

The iOS platform on which the iOS application is running.

AttributeTypeDescriptionExamplesStability
ios.statestringDeprecated. use the ios.app.state instead. [2]active; inactive; backgroundDeprecated
Renamed to ios.app.state

[2] ios.state: The iOS lifecycle states are defined in the UIApplicationDelegate documentation, and from which the OS terminology column values are derived.


ios.state has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.

ValueDescriptionStability
activeThe app has become active. Associated with UIKit notification applicationDidBecomeActive.Development
backgroundThe app is now in the background. This value is associated with UIKit notification applicationDidEnterBackground.Development
foregroundThe app is now in the foreground. This value is associated with UIKit notification applicationWillEnterForeground.Development
inactiveThe app is now inactive. Associated with UIKit notification applicationWillResignActive.Development
terminateThe app is about to terminate. Associated with UIKit notification applicationWillTerminate.Development