Gaurav Taywade
Gaurav Taywade

Reputation: 8347

How to load specific cell of uitableview whileloading view or reloading tableview

all I am doing one chat application, i which i am using uitable view to display reply and response from user.in this case after some interval of time i am reloading my tableview to fetch new data from server. But the problem is that after adding new content to table view it will go at the bottom of table view and i have to scroll table view to see that one.or in other case whenever i am reloading my table it will show its first cell on view. Now my question is "is it possible to load last cell of uitableview after view gets load or reload table view?"

Thanks in advance..

Upvotes: 0

Views: 1475

Answers (1)

GhostRider
GhostRider

Reputation: 1207

[sTableView reloadRowsAtIndexPaths:[NSArray arrayWithObject:[NSIndexPath indexPathForRow:sender.tag inSection:0]] withRowAnimation:UITableViewRowAnimationNone];

Upvotes: 2

Related Questions