Inherits from UIView
Declared in SCQRCodeReaderView.h

Overview

A view to scan the QR code. It shows the camera capture data and a frame the QR code should fit in.

Tasks

Properties

captureRect

Specifies a rect for direct scan result from.
If captureRect was not specified [SCQRCodeReaderView bounds] will be used. This means that the marker will be searched for within the entire area of the captured frame.

@property (nonatomic) CGRect captureRect

Discussion

Specifies a rect for direct scan result from.
If captureRect was not specified [SCQRCodeReaderView bounds] will be used. This means that the marker will be searched for within the entire area of the captured frame.

Declared In

SCQRCodeReaderView.h

delegate

Specifies an object that will get scan status changes from SCQRCodeReaderView
See SCQRCodeReaderViewDelegate protocol reference for more details.

@property (nonatomic, weak) IBOutlet id<SCQRCodeReaderViewDelegate> delegate

Discussion

Specifies an object that will get scan status changes from SCQRCodeReaderView
See SCQRCodeReaderViewDelegate protocol reference for more details.

Declared In

SCQRCodeReaderView.h

Class Methods

viewWithDelegate:captureRect:

Rreates a new instance of SCQRCodeReaderView

+ (instancetype)viewWithDelegate:(id<SCQRCodeReaderViewDelegate>)delegate captureRect:(CGRect)captureRect

Parameters

delegate

the object which will handle events wfom SCQRCodeReaderView

captureRect

specifies rect for direct scan result from.

Discussion

Rreates a new instance of SCQRCodeReaderView

Declared In

SCQRCodeReaderView.h

Instance Methods

isCaptureInProgress

Call this method to determine capture is already running or not.

- (BOOL)isCaptureInProgress

Discussion

Call this method to determine capture is already running or not.

Declared In

SCQRCodeReaderView.h

startCapture

Starts capture process

- (void)startCapture

Discussion

Starts capture process

Declared In

SCQRCodeReaderView.h

stopCapture

Stope capture process

- (void)stopCapture

Discussion

Stope capture process

Declared In

SCQRCodeReaderView.h