In iOS in Xcode, I dropped a tap gesture recognizer control onto a label, and control-dragged the tap gesture recognizer to create an interface builder action. When I tap the label, the interface builder action doesn't fire. Here is my code:
@IBAction func actionTapLabelInstrumentDropDown(_ sender: UITapGestureRecognizer) {
print("actionTapLabelInstrumentDropDown")
instrumentDropDown.show()
}
The print statement never prints.