Double tap gesture works only once : I'm trying to add double tap gesture recognizer on `imageView`. Double tap recognizer works only for once and if image is double tapped for second time, selector doesn't response. Below is code I'm trying

    productImageView.isUserInteractionEnabled = true
    let doubleTap =  UITapGestureRecognizer.init(target: self, action: #selector(self.sampleTapGestureTapped(recognizer:)))
    doubleTap.numberOfTapsRequired = 2
    productImageView.addGestureRecognizer(doubleTap)