                 focusTapGestureRecognizer.delegate = self
                 focusTapGestureRecognizer.numberOfTapsRequired = 1
                 gestureView.addGestureRecognizer(focusTapGestureRecognizer)
+            }
+            
+            self.zoomPanGestureRecognizer = UIPanGestureRecognizer(target: self, action: #selector(handlePanGestureRecognizer(_:)))
+            if let zoomPanGestureRecognizer = self.zoomPanGestureRecognizer {
+                zoomPanGestureRecognizer.minimumNumberOfTouches = 1
+                zoomPanGestureRecognizer.maximumNumberOfTouches = 1
+                //self.recordButton?.addGestureRecognizer(zoomPanGestureRecognizer)
             }
         }
         

            break
        }
    }
    
    internal func handlePhotoTapGestureRecognizer(_ gestureRecognizer: UIGestureRecognizer) {
        // play system camera shutter sound
        AudioServicesPlaySystemSoundWithCompletion(SystemSoundID(1108), nil)

    internal var zoomPanGestureRecognizer: UIPanGestureRecognizer?
    internal var flipDoubleTapGestureRecognizer: UITapGestureRecognizer?
    
    internal var panStartPoint: CGPoint = .zero
    internal var panStartZoom: CGFloat = 0.0
    
    // MARK: - object lifecycle
    
    public override init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: Bundle?) {
