如何确定 UITableViewCell 的操作按钮何时显示和隐藏? [英] How can I determine when a UITableViewCell's action buttons are shown and hidden?
本文介绍了如何确定 UITableViewCell 的操作按钮何时显示和隐藏?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我的tableview单元格的操作按钮再次显示和隐藏时,是否有委托方法或我可以实现的东西允许我做某事
?
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?
推荐答案
tableview 委托方法:
The tableview delegate methods:
-(void)tableView:(UITableView *)tableView willBeginEditingRowAtIndexPath:(NSIndexPath *)indexPath
和-(void)tableView:(UITableView *)tableView didEndEditingRowAtIndexPath:(NSIndexPath *)indexPath
可以解决问题.
这篇关于如何确定 UITableViewCell 的操作按钮何时显示和隐藏?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文