How to scroll up the TableView or cell while i am clicking loadmore from option from UITableView didSelectRowAtIndexPath
Asked
Active
Viewed 501 times
1 Answers
0
NSIndexPath* ip = [NSIndexPath indexPathForRow:[arrData count]-1 inSection:0];
[self.tableView scrollToRowAtIndexPath:ip atScrollPosition:UITableViewScrollPositionTop animated:NO];
arrData is the Data source you feed to the TableView. By setting IndexPath to [arrData count] you can go to the bottom of the TableView

DilumN
- 2,889
- 6
- 30
- 44