         
     }
     
-    func saveToCamera(sender: UITapGestureRecognizer) {
+    func touchFocus(sender: UITapGestureRecognizer) {
         
         let point =   sender.location(in: self.view)
         


import UIKit
import AVFoundation

class CustomLine: UIView{
    override func draw(_ rect: CGRect) {

        
        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)!
