<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.1.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreNFC",
  "identifier" : "/documentation/CoreNFC/NFCISO7816APDU/expectedResponseLength",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Core NFC"
    ],
    "preciseIdentifier" : "c:objc(cs)NFCISO7816APDU(py)expectedResponseLength"
  },
  "title" : "expectedResponseLength"
}
-->

# expectedResponseLength

The expected response data length (Le) in bytes.

```
var expectedResponseLength: Int { get }
```

## Discussion

Setting [`expectedResponseLength`](/documentation/CoreNFC/NFCISO7816APDU/expectedResponseLength) with a value less than 0 means the Le field is absent.

---

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)