CocoaPods trunk is moving to be read-only. Read more on the blog, there are 9 months to go.
| TestsTested | ✗ |
| LangLanguage | Obj-CObjective C |
| License | MIT |
| ReleasedLast Release | Jan 2018 |
Maintained by AZReal.
AZQrCodeScanController 是对iOS原生框架AVFoundation, 一句话即可调用iOS原生扫码。
// 全部导入(包含OC和swift)
pod 'AZQrCodeScanController'
// 只导入swift
pod 'AZQrCodeScanController/swift'
// 只导入OC
pod 'AZQrCodeScanController/oc'
AZQrCodeScanController *c = [[AZQrCodeScanController alloc] initWithScanComplete:^*(NSString *result) {
NSLog(@"%@", result);
}];
[self presentViewController:c animated:true completion: nil];
let c = AZQrCodeScanController { (result) in
print(result)
}
present(c!, animated: true, completion: nil)