<!--
{
  "availability" : [
    "iOS: 4.0.0 -",
    "iPadOS: 4.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIApplication/State",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@E@UIApplicationState"
  },
  "title" : "UIApplication.State"
}
-->

# UIApplication.State

Constants that indicate the running states of an app.

```
enum State
```

## Topics

### Constants

[`UIApplication.State.active`](/documentation/UIKit/UIApplication/State/active)

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

[`UIApplication.State.inactive`](/documentation/UIKit/UIApplication/State/inactive)

The app is running in the foreground but isn’t receiving events.

[`UIApplication.State.background`](/documentation/UIKit/UIApplication/State/background)

The app is running in the background.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)