DOT iOS NFC 8.0.0

This guide describes how to migrate DOT iOS NFC version 7.x to version 8.0. Only the most important changes are highlighted in this guide. For more details, see the iOS Samples.

Migration Steps

Deployment

  • Changed minimal required iOS version to iOS 12.0.
  • Changed minimal required Xcode version to Xcode 15.1.

MachineReadableZoneInformation class

  • Replace MachineReadableZoneInformation properties with MachineReadableZone class and its properties.

Before

// Example of getting document number in TD1 type
let documentNumber = travelDocument.machineReadableZoneInformation.documentNumber

After

// Example of getting document number in TD1 type
let documentNumber = travelDocument.machineReadableZoneInformation.machineReadableZone.td1!.documentNumber.value