<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.13.0 -",
    "tvOS: 11.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreImage",
  "identifier" : "/documentation/CoreImage/CIAztecCodeDescriptor/errorCorrectedPayload-swift.property",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Core Image"
    ],
    "preciseIdentifier" : "c:objc(cs)CIAztecCodeDescriptor(py)errorCorrectedPayload"
  },
  "title" : "errorCorrectedPayload"
}
-->

# errorCorrectedPayload

The error-corrected payload that comprises the the Aztec code symbol.

```
var errorCorrectedPayload: Data { get }
```

## Discussion

Aztec Codes are formally specified in ISO/IEC 24778:2008(E).

The error corrected payload consists of the 6-, 8-, 10-, or 12-bit message codewords produced
at the end of the step described in section 7.3.1.2 “Formation of data codewords”, which exists
immediately prior to adding error correction. These codewords have dummy bits inserted to ensure
that an entire codeword isn’t all 0’s or all 1’s. Clients will need to remove these extra bits
as part of interpreting the payload.

---

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)