Matt Pfefferle Matt Pfefferle - 1 year ago 60
iOS Question

-didSelectRowAtIndexPath: not being called

I'm writing an iPhone app with a table view inside a tab view. In my UITableViewController, I implemented

, but when I select a row at runtime, the method isn't being called. The table view is being populated though, so I know that other tableView methods in my controller are being called.

Does anyone have any ideas what I may have screwed up to make this happen?


It sounds like perhaps the class is not the UITableViewDelegate for that table view, though UITableViewController is supposed to set that automatically.

Any chance you reset the delegate to some other class?