Skip to main content

iOS SDK Samples

This page provides a list of samples available for the Scandit Data Capture SDK for iOS. Each sample demonstrates a specific feature or use case of the SDK.

The repository with all the samples can be found here, and each individual sample is linked below.

Barcode Scanning

Single Scanning

SparkScan

SparkScan List Building

List Building

Use SparkScan to populate a list of scanned barcodes.

Receiving

Use a combination of SparkScan and MatrixScan Count for a receiving use case.

Barcode Capture

Single Scan

Simple sample showing how to use the Barcode Capture mode to scan a single barcode.

tip

This sample is written in Swift. If you prefer Objective-C, you can find the equivalent sample here.

Capture Views

Demonstrates the various ways to best integrate the scanner into the UI of your app.

Capture Settings

Demonstrates how you can adapt the barcode capture settings best to your needs and experiment with all the options.

Rejection

Sample that uses the camera to read a single QR code that starts with “09:” but ignores/rejects all other codes.

Multi-Scanning

MatrixScan AR

Examples utilizing the low-level BarcodeTracking API.

Simple Highlight

Simple sample showing how to use MatrixScan to highlight barcodes in a frame.

Rejection

Use custom conditions to highlight and scan only the barcodes that meet the specified criteria.

MatrixScan Count

MatrixScan Count

Batch Scanning

Use MatrixScan to batch scan and count the number of barcodes in a frame.

Receiving

Use a combination of SparkScan and MatrixScan Count for a receiving use case.

Expiry Management

Share scan data between MatrixScan Count and Spark Scan to show the expiration status of scanned items.

MatrixScan Find

MatrixScan Find

Search and Find

Use barcode capture to define search criteria by scanning items, and MatrixScan Find can then be launched to find the pre-defined item.

ID Scanning

ID Scanning

ID Capture

Simple ID Capture

Simple sample showing how to use the ID Capture mode to scan an ID card.

Extended ID Capture

Sample showing how to use the ID Capture mode to scan an ID card with additional fields.

Settings

Demonstrates how you can adapt the ID capture settings best to your needs and experiment with all the options.

ID Verification

Age Verification

Sample showing how to use the ID Capture mode to verify age for a delivery.

US Driver's License

Sample showing how to use the ID Capture mode to verify a US driver's license.