Can I make a cell be in editing mode all the time?
I have a UITableView with one section. The last row it to add new objects, and it reads "Add Object".
How can I make this cell stay in editing mode so that it will always show the plus icon? I've tried using cell.editing = YES and [cell setEditing:YES animated:NO] but neither makes the cell appear in editing mode.
Th开发者_如何转开发anks!
Implement delegate's
- (UITableViewCellEditingStyle)tableView:(UITableView *)tableView editingStyleForRowAtIndexPath:(NSIndexPath *)indexPath
method. You might also need to set tableview's editing property to YES, but I am not sure.
精彩评论