Skip to content

amitvyawahare/AVQRCodeReader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

AVQRCodeReader

The AVQRCodeReader is a simple QRCode reader. It is based on the AVFoundation framework from Apple.

preview

Usage

Download the project and copy the AVQRCodeViewController folder into your project and then simply #import "AVQRCodeViewController.h" in the file(s) you would like to use it in.

Initialization

To initialize an instance of AVQRCodeViewController:

objective-c

AVQRCodeViewController *qrVC = [[AVQRCodeViewController alloc] initWithDismissBlock:^(AVQRCodeViewController *qrViewController, NSString *scannedValue) {
    NSLog(@"Value : %@", scannedValue);
    [qrViewController dismissViewControllerAnimated:YES completion:nil];
}];

[self presentViewController:qrVC animated:YES completion:nil];

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published