<!--
{
  "availability" : [
    "iOS: 2.0.0 -",
    "iPadOS: 2.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIControl/isEnabled",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIControl(py)enabled"
  },
  "title" : "isEnabled"
}
-->

# isEnabled

A Boolean value indicating whether the control is in the enabled state.

```
var isEnabled: Bool { get set }
```

## Discussion

Set the value of this property to <doc://com.apple.documentation/documentation/Swift/true> to enable the control or <doc://com.apple.documentation/documentation/Swift/false> to disable it. An enabled control is capable of responding to user interactions, whereas a disabled control ignores touch events and may draw itself differently. Setting this property to <doc://com.apple.documentation/documentation/Swift/false> adds the [`disabled`](/documentation/UIKit/UIControl/State-swift.struct/disabled) flag to the control’s [`state`](/documentation/UIKit/UIControl/state-swift.property) bitmask; enabling the control again removes that flag.

The default value of this property is <doc://com.apple.documentation/documentation/Swift/true> for a newly created control. You can set a control’s initial enabled state in your storyboard file.

---

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)