Read an ePassport chip with an iPhone

Use the passport’s machine-readable zone to read chip identity data and the DG2 portrait in your iOS app.

What the SDK provides

Core NFC read

Use a compatible physical iPhone and the host app’s NFC tag-reading capability. The captured passport page supplies the access data.

Read identity data and a DG2 portrait

Return parsed identity fields and the chip portrait as PNG bytes. Use the portrait as the reference for the optional face comparison.

Report authentication separately

Receive independent passive and chip authentication statuses. Supply an approved CSCA master list to perform passive authentication.

Expose chip metadata to the host app

The result includes the access control protocol and LDS version, alongside identity, portrait and authentication results.

Swift integration

Connect the capture to your app.

let chip = try await Identomic.readPassportChip(
    for: page,
    trustList: approvedMasterListURL
)
// Use chip.identity and chip.portraitPNG.
// Inspect both authentication statuses.

Frequently asked questions

What does the host app need for NFC?

Enable the Core NFC tag-reading capability, set the required usage descriptions and configure the passport application identifier. Test on a compatible physical iPhone.

What if the host app does not supply a CSCA master list?

The SDK can read supported chip data and will report passive authentication as not performed. The host app can handle this outcome separately.

Try the workflow on your devices.

Tell us which capture results, devices and integrations matter to your pilot.

Request a pilot