开发者

Moving cell to the top of the UITableView

I have UITable with items filled in from a NSMutableArray. I want to know how to move the cell to the top when the cell is selecte开发者_如何转开发d.?

I know this has to do with

- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath

can some1 help how to go about it. ?code snippets would be greatly appreciated.


Replace first array element with selected array element on row select and then call [tableviewController.tableview reloadData];

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜