1
votes

I'm currently facing something I find rather strange. In my storyboard, there is a TableViewController filled with static cells.

I would like to perform a simple segue (a push to another view controller) when I select one of the rows. So I "ControlDrag" from the concerned table cell to the sibling controller, but when tap one the cell, nothing happens. Next to that, I did try assigning the segue triggering to the accessory view of the cell (a disclosure button). And in that case, the segue is effectively triggered.

So here is my question : Should I use the "programmatic way" to handle the tap on the cell (tableview delegate methods and manual segue performing), or is there something I'm missing in the interface builder? And btw how could we explain the behavior difference with the accessory button view ?

Here is two screenshot

  • Cell selection that should trigger segue

    Cell selection that should trigger segue

    And, the accessory action which performs the segue

    accessory action

1
Have you got some examples of what you tried? pictures / codeOliver Atkinson
I'm going to add two pictures to the questionFredericK

1 Answers

1
votes

I finally found what the problem was. I had a gesture recognizer attached to the view controller, and it was catching the tap event on the cell.