views:

21

answers:

1

Hi. I'm trying to change the indentation for a custom UITableViewCell's content (namely, a image, a button and a label) when a UITableView is being edited.

I tried changing the cell's indentation width and level like this

[cellToCustomize setIndentationLevel:1];
[cellToCustomize setIndentationWidth:20];

and it took me nowhere.

I also implemented the

-(NSInteger)tableView:(UITableView *)tableView indentationLevelForRowAtIndexPath:(NSIndexPath *)indexPath

function.

Again, nothing.

I want to increase the indentation level, let's say... to the double.

Anybody knows how to do it?

Thanks!

A: 

Did you reload the cell? See the following methods in the UITableView documentation:

- (void)reloadData
- (void)reloadRowsAtIndexPaths:(NSArray *)indexPaths withRowAnimation:(UITableViewRowAnimation)animation
William Jockusch
Iup, I reloaded everything there is to reload...
camilo