views:

49

answers:

1

Hi there.

I really wonder why this question hasn't popped up here so far. I have a UITableView with custom UITableViewCells in it. The Table itself is editable and contains deletable cells as well as insertable ones.

if a cell is being deleted i want it to become insertable again AND it to move to the bottom of the table.

any clues on how to change a UITableViewCells position within a UITableView?

thx in advance

sam

+1  A: 

If you want to change the position of cells you need to look to your implementation of UITableViewDataSource Protocol and specifically the method:

- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
willcodejavaforfood