views:

45

answers:

1

Hi,

In my app I want to have certain buttons that are inactive when there is no row selected in my table view. There is a method didSelectRowAtIndexPath, that tells me when a row was selected. Is there a way to know if a row was deselected?

Thank you in advance.

+1  A: 

There's a method called deselectRowAtIndexPath:animated: in UITableView. You have to override it in a custom class to react on deselections.

See this article.

Koraktor