I want to trigger the tap gesture whenever I tap on an item in my UIPickerView.
I'm using the following code for LongPress Gesture which works fine. However if I switch to UITapGestureRecognizer, nothing is triggered.
@IBOutlet weak var showClaims: UIPickerView!override func viewDidLoad() { super.viewDidLoad() showClaims.isUserInteractionEnabled = true let tapped = UITapGestureRecognizer(target: self, action: #selector(ClaimVC.SelectClaimInfo)) showClaims.addGestureRecognizer(tapped)}func SelectClaimInfo() { GetClaimInfo()}