ZXing QRCode Scan

时间:2017-08-10 13:11:46
【文件属性】:

文件名称:ZXing QRCode Scan

文件大小:37.97MB

文件格式:ZIP

更新时间:2017-08-10 13:11:46

iOS ZXing QRCode Scan Parse

iOS ZXing QRCode Scan Parse How to use it in your code: 1. #import in header file. 2. #import in impliment file. 3. ZXingWidgetController *wid_ctrl = [[ZXingWidgetController alloc] init_with_delegate:self show_cancel:NO oned_mode:NO]; wid_ctrl.navigationItem.title = @"扫瞄二维码"; wid_ctrl.hidesBottomBarWhenPushed = YES; NSURL *file_url = [[NSURL alloc] initFileURLWithPath:[NSString main_bundle_file_path:@"beep-beep.caf"]]; wid_ctrl.beep_url = file_url; [file_url release]; file_url = nil; wid_ctrl.custom_msg = @"请扫瞄离您最近的iMall二维码,以获取到目的地的路线"; NSMutableSet *readers = [[NSMutableSet alloc] init]; QRCodeReader *qrcode_reader = [[QRCodeReader alloc] init]; [readers addObject:qrcode_reader]; [qrcode_reader release]; qrcode_reader = nil; wid_ctrl.readers = readers; [readers release]; readers = nil; [self.navigationController pushViewController:wid_ctrl animated:YES]; [wid_ctrl release]; wid_ctrl = nil;


网友评论