I'm writing an iOS app with a table view inside a tab view. In my UITableViewController
, I implemented -tableView:didSelectRowAtIndexPath:
, 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?
Just in case someone made the same stupid mistake as I did:
Check out if the method name of what you expect of being didSelect
may accidentally be gotten didDeselect
in some way. It took about two hours for me to find out ...