     let focusView = UIView(frame: CGRect(x: 0, y: 0, width: 60, height: 60))
     let btnThumbnail =  UIButton()
     let btnFlashMode = UIButton()
-
-	open var successCallBack:((String?) -> Void)?
+    
+    open var successCallBack:((String?) -> Void)?
     open var cancelCallBack:(() -> Void)?
     open var childDir:String?
     

        return .portrait
    }
    

    
    
    override func viewDidLoad() {
        super.viewDidLoad()

        
    
        let devices = AVCaptureDevice.devices().filter{ ($0 as AnyObject).hasMediaType(AVMediaTypeVideo) && ($0 as AnyObject).position == AVCaptureDevicePosition.back }
        captureDevice = devices.first as? AVCaptureDevice
        if (captureDevice?.isFlashModeSupported(.auto))!{

        
        let cameraPreview = UIView(frame: CGRect(x:0.0, y:0, width:view.bounds.size.width, height:view.bounds.size.height))
        cameraPreview.layer.addSublayer(previewLayer!)
        cameraPreview.addGestureRecognizer(UITapGestureRecognizer(target: self, action: #selector(touchFocus)))
        
        let line = CustomLine()
        line.frame = (previewLayer?.frame)!
