PLATFORMS << NATIVE MOBILE

MRZ Scanner for iOS

A Swift package with the camera screen, AR mode and photo scanning.

  • PackageMRZScannerAR (Swift package)
  • RequiresiOS 15 and later
  • Version2.5.0
  1. 1InstallGet the SDK from Downloads in the portal.
  2. 2Register your keyA 90-day trial key comes with your account; register it once at start.
  3. 3ScanOpen the camera or scan a photo; read the MRZ text and the parsed fields.

Install

The Swift package (MRZScannerAR with MRZScannerCore.xcframework) is under Downloads in the portal. Add it to your Xcode project as a Swift package.

Scan a document

iOSswift
import MRZScannerAR

_ = MRZScan.registerLicense("MRZ2...")   // once, at start

MRZScan.present(from: self, settings: #"{"documentTypes":["passport","id"]}"#) { resultJSON in
    // {"status":"read","reads":[{"text":"P<UTO...","fields":{...},"checkDigitsValid":true}]}
    print(resultJSON)
}

Also available for