TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | May 2017 |
Maintained by STShenzhaoliang.
一个简单使用的二维码识别控制器,代码量不到1000行
使用举例:
STQRCodeController *codeVC = [[STQRCodeController alloc]init];
codeVC.delegate = self;
UINavigationController *navVC = [[UINavigationController alloc]initWithRootViewController:codeVC];
[self presentViewController:navVC animated:YES completion:nil];
添加对iOS10的支持 在info.plist中添加
<key>NSCameraUsageDescription</key>
<string>开启相机</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>开启相册</string>