Very simple. I do not understand. When the table loads, and when Edit switches, canEdit is called, but not canMove . What am I doing wrong?
- (BOOL)tableView:(UITableView *)tableView canEditRowAtIndexPath:(NSIndexPath *)indexPath { NSLog(@"canEdit=%d", indexPath.row); // output is as expected, "canEdit" for each row return (indexPath.section == 1) ? YES : NO; } - (BOOL)tableView:(UITableView *)tableView canMoveRowAtIndexPath:(NSIndexPath *)indexPath { NSLog(@"canMove=%d", indexPath.row); // nothing. No output return (indexPath.section == 1) ? YES : NO; }
Thanks!
Toddb source share