QRViewController.h 512 Bytes
Newer Older
勾芒's avatar
勾芒 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
//
//  QRViewController.h
//  QRWeiXinDemo
//
//  Created by lovelydd on 15/4/25.
//  Copyright (c) 2015年 lovelydd. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^ScanCompleteBlock)(NSString *url);

@interface QRViewController : UIViewController

@property (nonatomic, copy, readonly) NSString *urlString;

17 18 19 20
/**
 取消扫描
 */
@property (nonatomic,copy) void(^cancelScanBlock)();
勾芒's avatar
勾芒 committed
21 22 23
- (instancetype)initWithScanCompleteHandler:(ScanCompleteBlock)scanCompleteBlock;

- (void)stopRunning;
24 25


勾芒's avatar
勾芒 committed
26
@end