DFCardCaptureView

1.初始化

/// 初始化
/// @param frame frame
/// @param windowFrame 检测区域
/// @param superLayer 父图层
- (instancetype)initWithFrame:(CGRect)frame andWindowFrame:(CGRect)windowFrame superLayer:(CALayer *)superLayer;

2.设置

/// 设置检测框颜色
/// @param color 颜色
- (void)setLineColor:(UIColor *)color;

3.开始扫描动画

/// 开始扫描动画
- (void)startAnimating;

4.结束扫描动画

/// 结束扫描动画
- (void)stopAnimating;

results matching ""

    No results matching ""