Table of contents
Swift
Objective-C

iOS Barcode Scanner Demo & Samples

iOS Barcode Scanner Demos

iOS BarcodeScanner API Samples

The BarcodeScanner iOS examples show you how to develop and customize your scanner app with the Ready-to-Use component, BarcodeScanner, of Dynamsoft Barcode Reader.

ScanSingleBarcode

Scan a barcode with the ready-to-use UI, BarcodeScannerViewController. The scanner always returns a single result. User have to select one barcode if multiple barcodes are scanned.

Check code on GitHub

ScanMultipleBarcodes

Scan multiple barcodes with the ready-to-use UI, BarcodeScannerViewController. The scanner returns multiple results.

Check code on GitHub

ScenarioOrientedSamples

A collection of samples showing how to use the BarcodeScanner component in different scenarios including:

  • High-Density QRCode
  • Direct Part Marking (DPM)
  • DotCode
  • Aztec Code

Check code on GitHub

iOS Foundational API Samples

The foundational API examples show you how to use the foundational APIs of Dynamsoft Barcoder Reader to develop a full customizable iOS barcode scanner.

Read Single Barcode (With CameraEnhancer)

Decode barcodes from video streaming. It shows the simplest code to implement a video barcode scanner.

Check code on GitHub

Read Single Barcode (With AVCaptureSession)

Generally the same as DecodeWithCameraEnhancer but using AVCaptureSession library as the input.

Check code on GitHub

Decode Barcodes from an Image

Decode barcodes from an still image. It shows how to select a image from the album and decode it.

Check code on GitHub

General Barcode Decoding Settings

Displays general barcode decoding settings and camera settings like barcode formats, expected barcode count and scan region settings. The default scan mode is continuous scanning.

Check code on GitHub

Decode Tiny Barcodes

The sample to tell you how to process the tiny barcodes. Including zoom and focus control.

Check code on GitHub

Locate an Item with Barcode

Input an ID with barcode text and detect it from multiple barcodes under the screen.

Check code on GitHub

iOS ID Scanning Samples

Scan a Driver’s License (via PDF417 Barcode)

Scan the PDF417 barcodes on a drivers’ license and extract the drivers information.

Check code on GitHub

Other Use Case Samples for iOS Platform

Scan VIN Barcode

Scan the vin barcode and extract the vehicle information.

Check code on GitHub