<!--
{
  "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

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

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

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

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

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

The app is running in the background.

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`Hashable`](/documentation/Swift/Hashable)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Equatable`](/documentation/Swift/Equatable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

---

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)