I have a UITableView in the iPad xib file.
The delegate method:
- (BOOL)tableView:(UITableView *)tableView canEditRowAtIndexPath:(NSIndexPath *)indexPath
{
return YES;
}
is correctly invoked.
But stil when I touch a row, or I swipe on it to delete it nothing happens.
In the xib file “User Interaction Enabled” for the table is on.
Thanks
UPDATE:
I’ve added this to the delegate, but still nothing:
-(UITableViewCellEditingStyle)tableView:(UITableView *)tableView editingStyleForRowAtIndexPath:(NSIndexPath *)indexPath
{
return UITableViewCellEditingStyleDelete;
}
Have you implemented these methods :