<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "tvOS: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIControl/State-swift.struct",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@E@UIControlState"
  },
  "title" : "UIControl.State"
}
-->

# UIControl.State

Constants describing the state of a control.

```
struct State
```

## Overview

A control can have more than one state at a time. Controls can have different configurations according to their state. For example, a [`UIButton`](/documentation/UIKit/UIButton) object can display one image when it’s in its normal state and a different image when it’s highlighted.

## Topics

### Constants

[`normal`](/documentation/UIKit/UIControl/State-swift.struct/normal)

The normal, or default, state of a control where the control is enabled but neither selected nor highlighted.

[`highlighted`](/documentation/UIKit/UIControl/State-swift.struct/highlighted)

The highlighted state of a control.

[`disabled`](/documentation/UIKit/UIControl/State-swift.struct/disabled)

The disabled state of a control.

[`selected`](/documentation/UIKit/UIControl/State-swift.struct/selected)

The selected state of a control.

[`focused`](/documentation/UIKit/UIControl/State-swift.struct/focused)

The focused state of a control.

[`application`](/documentation/UIKit/UIControl/State-swift.struct/application)

Additional control-state flags available for app use.

[`reserved`](/documentation/UIKit/UIControl/State-swift.struct/reserved)

Control-state flags reserved for internal framework use.

### Initializers

[`init(rawValue:)`](/documentation/UIKit/UIControl/State-swift.struct/init(rawValue:))

Creates a control state with the specified raw value.



---

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)