<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ProximityReader",
  "identifier" : "/documentation/ProximityReader/MobileDocumentRequest/nationalIDCardData(region:retaining:notRetaining:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "ProximityReader"
    ],
    "preciseIdentifier" : "s:15ProximityReader21MobileDocumentRequestPA2A0c18NationalIDCardDataE0VRszrlE08nationalgH06region9retaining12notRetainingAE10Foundation6LocaleV6RegionV_SayAE7ElementVGAQtFZ"
  },
  "title" : "nationalIDCardData(region:retaining:notRetaining:)"
}
-->

# nationalIDCardData(region:retaining:notRetaining:)

A request which retrieves elements from the holder and returns the validated document elements.

```
static func nationalIDCardData(region: Locale.Region, retaining retainedElements: [MobileNationalIDCardDataRequest.Element] = [], notRetaining nonRetainedElements: [MobileNationalIDCardDataRequest.Element] = []) -> Self
```

---

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)