I have a collection of views and I want to make that when they are tapped, it will perform the same segue. and no view performs any segue.

```
class ViewController: UIViewController {

@IBOutlet var categoryViews: [UIView]!

let tapGesture = UIGestureRecognizer(target: self, action: #selector(ViewController.move(tap:)))
override func viewDidLoad() {
    super.viewDidLoad()
    for category in (0..<categoryViews.count) {
        categoryViews[category].addGestureRecognizer(tapGesture)
        categoryViews[category].isUserInteractionEnabled = true
    }
    // Do any additional setup after loading the view.
}
@objc func move(tap: UIGestureRecognizer) {
    performSegue(withIdentifier: "Animals", sender: nil)
}

}

```