Custom cell and Delete/Move indicators
- by Kamchatka
Hello,
I have a custom UITableViewCell. However, when I got in edit mode, I don't have any Delete and Move indicators appearing. The custom cell draws itself in the contentView.
In layoutSubviews, I make sure there is space on the left and one the right of the contentView so that the controls can appear (if this was the problem).
- (void)layoutSubviews
{
self.contentView.frame = CGRectMake(50, 0, self.frame.size.width - 100, sub.thumbnail.size.height + 20);
}
In the UITableViewController, I return YES in:
- (BOOL)tableView:(UITableView *)tableView canMoveRowAtIndexPath:(NSIndexPath *)indexPath {
How could I solve this lack of interactivity. Is there something specific for custom cells?
Thanks!