Contents

state

The most recent state of the application.

Declaration

var state: XCUIApplication.State { get }

Discussion

The system monitors the app to update this property as the app’s state changes. Consequently, the system updates the value of this property asynchronously.

The system makes the following guarantees:

See Also

Determining application state