Answers for "didselectrowat not called swift table vie"

0

didselectrowatindexpath not called swift

//Reason for this could be, you are using a pan gesture in the view. like AAA mentioned removing your pan gesture will do the trick. But if you still want to use the pan gesture you could do the following

let tap: UITapGestureRecognizer = UITapGestureRecognizer(target: self, action: "dismissKeyboard")
view.addGestureRecognizer(tap)
tap.cancelsTouchesInView = false

//Making cancelsTouchesInView, false will enable all you taps.
Posted by: Guest on July-10-2020

Code answers related to "didselectrowat not called swift table vie"

Code answers related to "Swift"

Browse Popular Code Answers by Language