daijuqing / syqrcodedemo Goto Github PK
View Code? Open in Web Editor NEWThis project forked from reesun1130/syqrcodedemo
/**SYQRCode:IOS原生API,需要IOS7.0及以上系统支持。用法: //扫描二维码 SYQRCodeViewController *aaa = [[SYQRCodeViewController alloc] init]; aaa.SYQRCodeSuncessBlock = ^(NSString *qrString){ self.saomiaoLabel.text = qrString; }; aaa.SYQRCodeCancleBlock = ^(SYQRCodeViewController *are){ self.saomiaoLabel.text = @"扫描取消~"; [are dismissViewControllerAnimated:YES completion:nil]; }; [self presentViewController:aaa animated:YES completion:nil];**/