Why does table view row not select.

I have a table view that won't let me select a row. When I select a row, it would show selected and then right away show not selected. I have set the datasource and delegate properties correctly. Everything is user interaction enabled. I have a tap gesture recognizer object in the table view cell. I set a breakpoint in the table view did select row callback method, but the method never runs.

Answered by ShinehahGnolaum in 399127022

I figured it out. I needed to set cancelsTouchesInView property of the gesture reconginzer to false.

Accepted Answer

I figured it out. I needed to set cancelsTouchesInView property of the gesture reconginzer to false.

That was a fast find.


Don't forget to close the thread.

Why does table view row not select.
 
 
Q