扫描二维码控件的封装扫描二维码控件的封装iOS实现实现
扫描二维码效果
源码:https://github.com/YouXianMing/Animations
//
// QRCodeView.h
// QRCode
//
// Created by YouXianMing on 16/7/7.
// Copyright © 2016年 XianMing You. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>
@class QRCodeView;
@protocol QRCodeViewDelegate <NSObject>
@optional
/**
* 获取QR的扫描结果
*
* @param codeView QRCodeView实体对象
* @param codeString 扫描字符串
*/
- (void)QRCodeView:(QRCodeView *)codeView codeString:(NSString *)codeString;
@end
@interface QRCodeView : UIView
/**