开发者

How to move a UITableViewCell within a UITableView

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 de开发者_Python百科letable 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


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
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜