PQScanner 0.1.3

PQScanner 0.1.3

LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Jan 2016

Maintained by Docee.

PQScanner 0.1.3

  • By
  • Docee

PQScanner is an awesome QR code and Barcode scanner base on iOS7 SDK.


Step One:

PQScanner only provides a constructor method.

You need to set up capture display view and delegate at first.

- (instancetype)initWithTargetView:(UIView *)targetView

Step Two:

Setup AVCapture.

At this time, Application will apply for camera control.

If users refuse , that will trigger

-(void)scanner:(PQScanner *)scanner didOpenCaptureFaild:(NSError *)error


You need to set up capture display view and delegate at first.


Step Three:

Start scan

PQScaner provides block and delegate method to callback data.

So the

-(void)scanner:(PQScanner *)scanner didEncodeQRCode:(NSString *)encodeStr codeType:(NSString *)codeType callback and block will receive callback at the same time.


Step Four:

Continue scan

Once PQScanner decoded the code , PQScanner will stop scan. At this time, You need to invoking continueScan method.



iOS 7.0 above


PQScanner is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'PQScanner', '~> 0.1.0'


Docee, [email protected]


PQScanner is available under the MIT license. See the LICENSE file for more info.