【发布时间】:2011-06-05 17:25:07
【问题描述】:
所以我已经实现了
- (BOOL)tableView:(UITableView *)tableView
canEditRowAtIndexPath:(NSIndexPath *)indexPath
和
- (void)tableView:(UITableView *)tableView
commitEditingStyle:(UITableViewCellEditingStyle)editingStyle
forRowAtIndexPath:(NSIndexPath *)indexPath
但是我将如何触发某些东西以将 tableview 切换到编辑模式?就像您单击编辑时 iphone 中的消息一样,会出现删除图标。这可能听起来很基本,但我对此一无所知,而且有点紧急,任何线索将不胜感激,谢谢。
【问题讨论】:
标签: iphone objective-c iphone-sdk-3.0 uitableview