         super.viewDidLoad()
         self.view.backgroundColor = UIColor.black
         self.edgesForExtendedLayout = UIRectEdge(rawValue: 0)
+        self.navigationController?.navigationBar.isHidden = true;
 
         // Do any additional setup after loading the view.
     }

    //闪光灯
    var btnFlash:UIButton = UIButton()
    
    //识别码的类型
    var arrayCodeType: [String]?
    
    //是否需要识别后的当前图像
    var isNeedCodeImage = false
    
    var delegate: YLScanViewControllerDelegate?
    
    deinit {
        print("YLScanViewController deinit")

import Foundation
import AVFoundation

protocol YLScanViewControllerDelegate: class {
    func scanViewControllerSuccessWith(result: YLScanResult)
}

