Implement Barcode Scanner

Implement Barcode Scanner

You will learn

In this tutorial, you learn how to implement the FUISearchBarcodeScanner protocol to scan barcodes and QR codes. This tutorial is not intended as a real-world example, but merely shows the working of the barcode functionality.

Details

To follow this tutorial you should have access to an iPhone or iPad running iOS 10 since the Xcode Simulator does not provide access to a camera.

Step 1: Create new project

Open Xcode, and from the menu File > New > Project choose a new Single View Application.

Enter a product name, for instance ScannerTest, and specify a location to store the project.