1
我在使用UITableView
的iPhone应用程序中工作。我在UIViewController
子视图UITableView中添加了编辑选项。当用户swipe the screen the Delete button is showing
在这种情况下,我已经将barbutton项目'编辑'更改为'完成'。在这种情况下,我跟踪了从下面的代表控制,如何使用刷卡iphone应用程序控制UITableView编辑?
- (UITableViewCellEditingStyle)tableView:(UITableView *)aTableView editingStyleForRowAtIndexPath:(NSIndexPath *)indexPath
-(void) tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath:(NSIndexPath *)indexPath
但是,当用户再次刷卡鉴于“删除”按钮是隐藏,但我不能触发控制。所以我不能将barbutton项目“完成”更改为“编辑”。你能帮我解决这个问题吗?在哪里我可以触发滑动控件来隐藏'删除'选项?提前致谢。
谢谢。这是工作的魅力。再次感谢。 – Gopinath