It's hard to say without seeing the code, but try the following:
1) didSelectRowAtIndexPath from UITableViewDelegate , NOT a dataSource , did you connect it ?!
2) Carefully check the didSelectRowAtIndexPath signature. Copy it to some reliable source. Maybe thereβs some kind of dead end.
3) Make sure that the sockets are connected correctly. Stop it somewhere using the debugger, say viewDidLoad and print out the dataSource command and delegate ( po self.tableView.dataSource debugger), make sure they point to the correct object.
4) Is the row visually selected? Maybe you have cell.userInteractionEnabled set to NO in your code or storyboard?
5) The table view has a selection property in the storyboard: (Is everything all right?) 
6) Perhaps you have a table in edit mode? Write it from debugging to see.
7) Is a row indexPathsForSelectedRows from the point of view of the indexPathsForSelectedRows method? What if you redefine and register calls in the selected accessor cell?
source share