UITextField TapGesture doesn't respond on iOS 7.1

I have a uitextfield which is programatically added to view. I need to show a UIPickerview, when i tap on that, I have added a UITapgestureRecognizer for that and user interaction also enabled. Which was working fine till IOS 7.0. But when i updated to IOS 7.1 which is not getting called.


Rather than setting a tap gesture for your textField, you can simply set the inputView of your textField as your pickerView. This simply enables you to show the UIPicker when the textField is tapped or gains focus. Something like:


This is just an alternative solution to your issue. You can give it a try.

Need Your Help

Popen command fails with returncode 1

python django ubuntu

Strangely when django invokes the below code Popen returns returncode=1 with empty err. But when I run this program manually it works fine. I don't have any idea how to debug as err is empty. This ...

Localhost not recording changes to code?

javascript meteor localhost refresh

I'm making changes locally to my code. When I save the code in Atom, then refresh over localhost, the changes are not being displayed in the browser. What are the possible reasons for this?