<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreImage",
  "identifier" : "/documentation/CoreImage/CIQRCodeDescriptor/ErrorCorrectionLevel-swift.enum",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Core Image",
      "CoreImage"
    ],
    "preciseIdentifier" : "c:@E@CIQRCodeErrorCorrectionLevel"
  },
  "title" : "CIQRCodeDescriptor.ErrorCorrectionLevel"
}
-->

# CIQRCodeDescriptor.ErrorCorrectionLevel

Constants indicating the percentage of the symbol that is dedicated to error correction.

```
enum ErrorCorrectionLevel
```

## Topics

### Enumeration Cases

[`case levelH`](/documentation/CoreImage/CIQRCodeDescriptor/ErrorCorrectionLevel-swift.enum/levelH)

Indicates that approximately 65% of the symbol data is dedicated to error correction.

[`case levelL`](/documentation/CoreImage/CIQRCodeDescriptor/ErrorCorrectionLevel-swift.enum/levelL)

Indicates that approximately 20% of the symbol data is dedicated to error correction.

[`case levelM`](/documentation/CoreImage/CIQRCodeDescriptor/ErrorCorrectionLevel-swift.enum/levelM)

Indicates that approximately 37% of the symbol data is dedicated to error correction.

[`case levelQ`](/documentation/CoreImage/CIQRCodeDescriptor/ErrorCorrectionLevel-swift.enum/levelQ)

Indicates that approximately 55% of the symbol data is dedicated to error correction.

### Initializers

[`init?(rawValue: Int)`](/documentation/CoreImage/CIQRCodeDescriptor/ErrorCorrectionLevel-swift.enum/init(rawValue:))

## Relationships

### Conforms To

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

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

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

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

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

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

---

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)