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?
Asked
Active
Viewed 120 times
0

Stephan
- 881
- 9
- 24
-
are you using any third party library? – Rahul Patel Jan 07 '16 at 06:59
-
@RahulPatel no. I used `-(NSArray
*)tableView:(UITableView *)tableView editActionsForRowAtIndexPath:(NSIndexPath *)indexPath` to implement the actions themselves. – Stephan Jan 07 '16 at 07:00 -
may be this link will help you https://github.com/MortimerGoro/MGSwipeTableCell – sandy Jan 07 '16 at 07:13
2 Answers
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