     }
 
     private func setupTapGestureRecogniser() {
-        zoomDoubleTapGestureRecogniser = UITapGestureRecognizer(target: self,
-                                                                action: #selector(MediaViewerInteractiveImageView.viewDoubleTapped(_:))
-        )
-        zoomDoubleTapGestureRecogniser.numberOfTapsRequired = 2
         addGestureRecognizer(zoomDoubleTapGestureRecogniser)
     }
 

    }

    private func setupScrollView() {
        scrollView = UIScrollView(frame: bounds)
        scrollView.clipsToBounds = false
        scrollView.isUserInteractionEnabled = true
        scrollView.backgroundColor = UIColor.clear

        }
    }

    public let imageView = UIImageView()
    public let scrollView = UIScrollView()
    public let activityIndicator = UIActivityIndicatorView(style: .whiteLarge)

    public lazy var zoomDoubleTapGestureRecogniser: UIGestureRecognizer = {
        let gesture = UITapGestureRecognizer(target: self, action:
            #selector(MediaViewerInteractiveImageView.viewDoubleTapped(_:)))
        gesture.numberOfTapsRequired = 2
        return gesture
    }()

    // MARK: private properties

