Inherits from UIView
Conforms to AVCaptureVideoDataOutputSampleBufferDelegate
Declared in LUQRCodeScannerView.h
LUQRCodeScannerView.m

Overview

LUQRCodeScannerView is a utility class to simplify the process of scanning QR codes.

Usage

Simply add an LUQRCodeScannerView to a view, and use the clearSession, startScanning, and stopScanning methods to control the scanner. Specify a LUQRCodeScannerViewDelegate to be notified when a QR code is successfully scanned.

Properties

crossHairsColor

The color of the cross hairs on the view. Default is #1EBBF3.

@property (strong) UIColor *crossHairsColor

Discussion

The color of the cross hairs on the view. Default is #1EBBF3.

Declared In

LUQRCodeScannerView.h

delegate

@property (weak) id<LUQRCodeScannerViewDelegate> delegate

Discussion

A LUQRCodeScannerViewDelegate delegate.

Declared In

LUQRCodeScannerView.h

Instance Methods

clearSession

Clears the current scanning session.

- (void)clearSession

Discussion

Clears the current scanning session.

Declared In

LUQRCodeScannerView.h

startScanning

Begins scanning.

- (void)startScanning

Discussion

Begins scanning.

Declared In

LUQRCodeScannerView.h

stopScanning

Stops scanning.

- (void)stopScanning

Discussion

Stops scanning.

Declared In

LUQRCodeScannerView.h