I have problem with add a Tap Gesture to my UITextField. Below code:
@IBAction func hanldeTap(recognizer: UITapGestureRecognizer) {
println("works")
}
This action is associated with Tap Gesture Recognizer. In my TextField I have defined gestureRecognizer
in OutletCollections
. In my guess it should works. In described configuration gesture works e.x. for button or custom view.
Can you tell my what could go wrong and how can I fix this?