Skip to main content

Getting started with the iOS Barcode Scanner SDK's Custom UI

Integrating the Custom UI Components​

The main class of this Custom UI Component is SBSDKBarcodeScannerViewController.

Usually, this view controller is embedded as a child view controller into another view controller, the parent view controller. The parent view controller usually acts as the delegate and processes the scanning results. You still have full control over the UI elements and can add additional views and buttons to your view controller. The Custom UI Component does not display results, instead, it just forwards them to the delegate.

Example for integrating the Barcode Scanner Custom UI Component​

Barcode scanner
loading...

Batch Barcode Scanner UI​

The Scanbot Barcode Scanner SDK provides the ability to search and decode multiple instances of different formats of barcodes in a UIImage or CMSampleBufferRef. The result is encapsulated in an array of SBSDKBarcodeItem instances.

Example for integrating the Batch Barcode Scanner Custom UI Components​

Barcode batch scanner
loading...

Data parsers​

The following example configures the scanner to parse structured data from the scanned barcodes.

Data Parsing
loading...

Manual data parsing​

Besides scanning barcodes and parsing the results, it is also possible to parse any given string containing structured data using the SBSDKBarcodeDocumentParser class.

Example for manually parsing the data​

Manual Data Parsing
loading...

Handling scan results​

After a successful scan, you can access and process the barcode results, including extracted documents and raw data.

Handling the result
loading...

Want to scan longer than one minute?

Generate a free trial license to test the Scanbot SDK thoroughly.

Get free trial license