Enumeration

WKApplicationState

The running states of your Watch app.

Declaration

enum WKApplicationState : Int

Topics

Constants

case active

The Watch app is running in the foreground and currently receiving events.

case inactive

The Watch app is running in the foreground, but is not yet responding to actions from controls or gestures.

case background

The Watch app is running in the background.

See Also

Managing the Execution State

var applicationState: WKApplicationState

The runtime state of the Watch app.

var isApplicationRunningInDock: Bool

A Boolean value that indicates whether the app is running in the dock.

var isFrontmostTimeoutExtended: Bool

A Boolean value that determines whether the app extends its time as the frontmost app.