0

Is there a delegate method or something that I can implement that allows me to do something when action buttons of my tableview cell is shown and hidden again?

Action buttons showing

Stephan
  • 881
  • 9
  • 24

2 Answers2

0

You can set some bool property at tableviewcell level, which could work like the trigger point to understand, whether the more option actions are visible or not.

You can also validate them with content offset of tableviewcell contentview, if offset < 0, it means the more option action buttons are visible, else are not visible.

Ankit Thakur
  • 4,739
  • 1
  • 19
  • 35
0

The tableview delegate methods:

-(void)tableView:(UITableView *)tableView willBeginEditingRowAtIndexPath:(NSIndexPath *)indexPath and -(void)tableView:(UITableView *)tableView didEndEditingRowAtIndexPath:(NSIndexPath *)indexPath does the trick.

Stephan
  • 881
  • 9
  • 24