Skip to main content

Counting scanned barcodes on iOS

Overview

By default, the Barcode Scanner SDK's Multi Scanning mode counts each scanned barcode and creates a results sheet with entries for each unique barcode value.

The bottom sheet that is used to display previews for the scanned barcodes have two modes collapsedSheet and button. In collapsedSheet mode, the bottom sheet is visible and collapsed and can be expanded by dragging it up, also the button can show the overall barcodes count.

Multiple scanning also comes with the option to configure the counting mode: The counting mode can either be counting or unique. In counting mode, the scanner scans barcodes with the same value again and counts the number of items. In unique mode, the scanner only scans the barcodes with unique values. If another barcode has the same value, it won't scan again.

Additionally, the countingRepeatDelay can be used to set the time interval in milliseconds that must pass before counting a barcode again.

Scanning multiple barcodes with the iOS Barcode Scanner SDK

Example configuration of Scan & Count

Multiple scan
loading...

Want to scan longer than one minute?

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

Get free trial license